/* 1. GRUND-SETUP */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
/* 2. HEADER & NAVIGATION */
header {
  background: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.name-row {
  font-size: 1.4rem;
  color: #2c3e50;
  font-weight: 300;
}
.name-row strong {
  font-weight: 700;
}
.slogan {
  font-size: 0.85rem;
  color: #007bff;
  margin-top: 2px;
}
.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
}
.nav-list li {
  margin-left: 25px;
}
.nav-list li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}
.nav-list li a:hover {
  color: #007bff;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
  transition: 0.4s;
}
/* Hamburger Animation */
.menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active .bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.menu-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}
/* 3. KOMPONENTEN & BUTTONS */
.btn-small {
  background: #007bff;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 5px;
  white-space: nowrap; /* Das verhindert, dass der Text umbricht */
}
.btn-main {
  background: #007bff;
  color: #fff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: 0.3s;
}
.btn-secondary {
  border: 2px solid #007bff;
  color: #007bff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}
.btn-main:hover {
  background: #0056b3;
}
/* 4. HERO SECTION */
.hero {
  padding: 80px 0;
  background: #fff;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #2c3e50;
}
.hero-text .highlight {
  color: #007bff;
}
.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
}
.hero-btns {
  display: flex;
  gap: 15px;
}
.hero-image {
    position: relative;
    display: inline-block; /* Sorgt dafür, dass der Container exakt so groß wie das Bild ist */
}
.hero-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.experience-badge {
    position: absolute;
    bottom: 20px;   /* Auf die Unterkante gesetzt */
    right: -30px;   /* Etwas über den rechten Rand hinaus für den "Stempel-Look" */
    background: #007bff;
    color: white;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
    z-index: 20;
    transform: rotate(12deg); /* Einladender Winkel nach rechts */
    border: 4px solid #fff;
    pointer-events: none; /* Verhindert, dass der Badge Klicks auf Links behindert */
}

.exp-year {
    font-size: 2rem;
    line-height: 1;
    display: block;
}

.exp-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    line-height: 1.2;
    margin-top: 4px;
}
/* 5. INTRO & SERVICES */
.intro-box {
  text-align: center;
  padding: 60px 0;
}
.services {
  padding: 100px 0;
  background: #f4f7f9;
}
.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #2c3e50;
}
.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 60px;
}
.section-title-left {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #2c3e50;
}
.services {
    padding: 80px 0 100px;
    background: #f4f7f9;
    overflow: visible; /* WICHTIG: Damit der Badge oben rausschauen darf */
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px; /* Etwas runder für modernen Look */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* "Plöppt" beim Hover */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,123,255,0.15); /* Blauer Schatten beim Hover */
    border-color: #007bff;
}
.service-card .icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.3s ease;
}
.service-card:hover .icon {
    transform: scale(1.2); /* Icon vergrößert sich beim Hover */
}
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}
.service-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}
.highlight-card {
    border: 2px solid #007bff !important;
    background: #fff;
    transform: scale(1.05);
    z-index: 5; /* Höherer Z-Index, damit sie über anderen Elementen liegt */
    position: relative;
    overflow: visible; /* Auch hier: Badge darf über den Rand */
}
/* Der "Empfehlung"-Badge oben drauf */
.highlight-card::before {
    content: "BELIEBTESTE WAHL";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%); /* Schiebt ihn genau auf die obere Kante */
    background: #007bff;
    color: #fff;
    padding: 6px 16px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 20px;
    letter-spacing: 1px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}
/* 6. ABOUT SECTION */
.about {
  padding: 60px 0;
  background: #fff;
}
.about-text {
  line-height: 1.6
}
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.about-image img {
  width: 100%;
  border-radius: 50% 50% 5px 50%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.milestones {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}
.milestone .number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #007bff;
}
.milestone .label {
  font-size: 0.9rem;
  color: #666;
}
/* 7. CONTACT & FOOTER */
.contact {
  padding: 100px 0;
  background: #f4f7f9;
  text-align: center;
}
.contact-box-simple {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}
.address-box {
  margin-bottom: 30px;
  color: #666;
	line-height: 1.6;
}
.trust-note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-style: italic;
  color: #888;
}
footer {
    background: #2c3e50;
    color: #fff;
    padding: 20px 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
}
.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
}
/* 8. RECHTS-SEITEN NAV */
.legal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.back-link a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}
/* 9. MOBIL-OPTIMIERUNG (MEDIA QUERIES) */
@media (max-width: 768px) {
 
	.footer-content {
        flex-direction: column; /* Stapelt Copyright und Links untereinander */
        gap: 20px;
        text-align: center;
    }
	
	.footer-links {
        justify-content: center;
        padding: 0;
    }
	
	.footer-links li {
        white-space: nowrap; /* Verhindert Umbruch innerhalb der Links (z.B. Impressum) */
    }
	
	.menu-toggle {
    display: flex;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    width: 100vw; /* Nutzt die volle Viewport-Breite */
    position: absolute;
    top: 75px;
    left: 0;
    background: #fff;
    padding: 20px 0; /* Oben/Unten Padding, Links/Rechts 0 */
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    margin: 0;
  }
  .nav-list.active {
    display: flex;
  }
  .nav-list li {
    margin: 10px 0;
    width: 100%; /* Li belegt volle Breite */
    text-align: center;
    padding: 0 10px; /* Kleiner Puffer zum Rand */
  }
  .nav-list li a {
    display: inline-block;
    white-space: nowrap !important; /* Absolutes Umbruch-Verbot */
    font-size: 1.1rem; /* Leicht größer für bessere Bedienung */
  }
  /* Der Button darf nicht die ganze Breite einnehmen */
  .nav-list .btn-small {
    display: inline-block;
    width: auto;
    padding: 10px 25px;
  }
  /* Restliche Grid-Anpassungen */
  .hero-grid, .about-grid, .services-grid, .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-image {
    order: -1;
    max-width: 250px;
    margin: 0 auto 30px;
  }
	.experience-badge {
        width: 100px;
        height: 100px;
        bottom: 10px;
        right: -10px; /* Weniger Überhang mobil */
        transform: rotate(8deg);
    }
    .exp-year { font-size: 1.5rem; }
    .exp-text { font-size: 0.6rem; }
}
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
.highlight-card {
        transform: scale(1);
        margin: 40px 0; /* Mehr Platz zwischen den Karten für den Badge */
    }
	.services {
        padding: 80px 0;
    }
  .about-image {
    max-width: 250px;
    margin: 0 auto;
  }
  .milestones {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 360px) {
  .name-row {
    font-size: 1.1rem;
  }
  .slogan {
    font-size: 0.65rem;
  }
  .btn-small {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}
}