:root {
  --primary-blue: #2e4ccc;
  --light-blue: #4a6ed7;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --dark-gray: #333333;
  --text-gray: #6b7280;
  --success-green: #10b981;
  --accent-blue: #e0e7ff;
  --google-yellow: #ffd700;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  overflow-x: hidden;
}

/* Mobile-First Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0.5rem 1rem;
  height: 70px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  position: relative;
}

.logo-container {
  position: relative;
  z-index: 1001;
}

.logo {
  height: 150px;
  width: auto;
  object-fit: contain;
  position: absolute;
  top: -50px;
  left: 0;
  background: var(--white);
  border-radius: 15px;
  padding: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.nav-menu {
  display: none;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-blue);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-blue);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: var(--dark-gray);
  border-bottom: 1px solid #eee;
  font-weight: 500;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  color: var(--white);
  padding: 10rem 1rem 4rem;
  /* <- von 8rem auf 10rem geändert */
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-logo {
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
  background: var(--white);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 200px;
  justify-content: center;
  cursor: pointer;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-blue);
}

/* Services Section */
.services {
  padding: 4rem 1rem;
  background: var(--light-gray);
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--success-green);
}

/* About Section */
.about {
  padding: 4rem 1rem;
  background: var(--white);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.2rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.features {
  list-style: none;
  margin: 2rem 0;
}

.features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.features li::before {
  content: "✓";
  background: var(--success-green);
  color: var(--white);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
/* FAQ Section */
.faq {
  padding: 4rem 1rem;
  background: var(--white);
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.faq-item {
  background: var(--light-gray);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
}

.faq-question {
  background: var(--primary-blue);
  color: var(--white);
  padding: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--light-blue);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-answer {
  padding: 1.5rem;
  background: var(--white);
}

.faq-answer p {
  margin-bottom: 1rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.faq-answer ul li {
  margin-bottom: 0.5rem;
  color: var(--text-gray);
}
.reviews {
  padding: 4rem 1rem;
  background: var(--light-gray);
}

.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
}

#reviews .section-header h2 {
        word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    }



/* Google Bewertungs-Header - integriert in bestehenden Stil */
.google-rating-header {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
  text-align: center;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.google-icon {
  width: 24px;
  height: 24px;
  background: var(--white);
  color: var(--primary-blue);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

.rating-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rating-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.stars-large {
  font-size: 2.5rem;
  color: var(--google-yellow);
  letter-spacing: 0.25rem;
}

.rating-subtitle {
  color: var(--text-gray);
  font-size: 1.1rem;
}

.rating-subtitle strong {
  color: var(--primary-blue);
}

/* Bewertungskarten im CSW Design-Stil */
.reviews-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.review-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.customer-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  flex-shrink: 0;
}

.customer-info {
  flex: 1;
}

.customer-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.25rem;
}

.review-stars {
  color: var(--google-yellow);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0.1rem;
}

.review-date {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.review-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--accent-blue);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: serif;
}

.review-service-tag {
  display: inline-block;
  background: var(--accent-blue);
  color: var(--primary-blue);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Call-to-Action Button - passend zum bestehenden Stil */
.reviews-cta {
  text-align: center;
  margin-top: 3rem;
}

.btn-reviews {
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 250px;
  justify-content: center;
}

.btn-reviews:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(46, 76, 204, 0.3);
}

/* Contact Section */
.contact {
  padding: 4rem 1rem;
  background: var(--light-gray);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  gap: 3rem;
}

.contact-info {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 1.2rem;
}

.contact-details h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: var(--text-gray);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 48px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}
/* Neuer, einfacherer Code für das Datum */
.form-group input[type="date"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    min-height: 48px;
    cursor: pointer;
}

/* Sicherstellen dass das Padding auch auf mobilen Geräten erhalten bleibt */
.form-group input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
  padding-left: 0;
}

.form-row {
  display: grid;
  gap: 1rem;
}

/* Honeypot-Felder (für Bots unsichtbar) */
.honeypot-container {
  position: absolute;
  left: -9999px;
  top: -9999px;
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  border: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
  z-index: -1;
}

/* Turnstile Container */
.turnstile-container {
  margin: 1.5rem 0;
  text-align: center;
}

.cf-turnstile {
  margin: 0 auto;
}

.privacy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.privacy-checkbox input[type="checkbox"] {
  width: auto;
  margin: 0;
  margin-top: 0.25rem;
}

.privacy-checkbox label {
  font-size: 0.9rem;
  line-height: 1.4;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background: var(--light-blue);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.footer {
  background: var(--primary-blue);
  color: var(--white);
  padding: 3rem 1rem 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section p,
.footer-section li {
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-section a:hover {
  opacity: 0.7;
}

.footer-section li {
  display: flex;
  align-items: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  opacity: 0.8;
}

/* Floating Contact Button */
.floating-contact {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.floating-btn {
  background: var(--success-green);
  color: var(--white);
  padding: 1rem;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
}

.floating-btn:hover {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 480px) {
  .logo {
    height: 100px;
    top: -46px;
    padding: 5px;
  }

  .hero {
    padding: 7rem 1rem 4rem;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .logo {
    height: 110px;
    top: -50px;
    padding: 8px;
  }

  .hero {
    padding: 8rem 1rem 4rem;
  }
}
@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .google-rating-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    text-align: left;
    gap: 2rem;
  }

  .google-rating-header > div:first-child {
    justify-self: start;
  }

  .google-rating-header > div:nth-child(2) {
    justify-self: center;
    text-align: center;
  }

  .google-rating-header > div:last-child {
    justify-self: end;
    text-align: right;
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-content {
    grid-template-columns: 1fr 2fr;
  }

  .about-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 4rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease;
}
.review-card:nth-child(1) {
  animation-delay: 0.1s;
}
.review-card:nth-child(2) {
  animation-delay: 0.2s;
}
.review-card:nth-child(3) {
  animation-delay: 0.3s;
}
.review-card:nth-child(4) {
  animation-delay: 0.4s;
}
.review-card:nth-child(5) {
  animation-delay: 0.5s;
}
.review-card:nth-child(6) {
  animation-delay: 0.6s;
}

.success-message.show {
  display: block;
}
/* Update für die Erfolgsmeldung */
.success-message {
  display: none; /* Standardmäßig unsichtbar */
  background: var(--success-green);
  color: var(--white);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  width: 100%; /* Nimmt die gleiche Breite wie der Button ein */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.success-message h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: white !important;
}