/* ===== Globale Styles ===== */
:root {
  --primary-color: #754caf;
  --primary-dark: #4b3d8b;
  --secondary-color: #2c3e50;
  --light-color: #f9f9f9;
  --dark-color: #333;
  --white: #fff;
  --black: #000;
  --gray: #777;
  --light-gray: #f5f5f5;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--white);
}

h1 {
  color: #e0e0e0;
}

h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
  line-height: 1.3;
  color: var(--secondary-color);
}

a {
  text-decoration: none;
  color: var(--dark-color);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  width: 100%;
  display: block;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(76, 175, 80, 0.2);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.section {
  padding: 90px 0;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 20px auto;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
}

.bg-light {
  background-color: var(--light-color);
}

/* ===== Header ===== */
/* Header-Styling für Zentrierung */
.header {
  display: flex;
  justify-content: center; /* Zentriert horizontal */
  align-items: center; /* Zentriert vertikal (optional) */
  height: 100px; /* Beispielhöhe für den Header */
  background-color: #f5f5f5; /* Optionaler Hintergrund */
}

/* Logo Container (falls nötig) */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Standard für große Bildschirme (Desktop, Laptop) */
.logo {
  height: 200px;
  width: auto;
}

/* Für Tablets (z. B. iPad, kleine Laptops) */
@media (max-width: 1024px) {
  .logo {
    height: 120px;
  }
}

/* Für Smartphones im Querformat oder kleine Tablets */
@media (max-width: 768px) {
  .logo {
    height: 90px;
  }
}

/* Für Smartphones im Hochformat (z. B. iPhone, Samsung, etc.) */
@media (max-width: 480px) {
  .logo {
    height: 180px;
  }
}

header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}

nav ul {
  display: flex;
  gap: 20px; /* Gleichmäßiger Abstand */
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
  font-size: 1rem;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary-color);
  font-weight: 600;
}

nav ul li a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary-color);
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/dein-bild.jpg") center/cover no-repeat;
  height: 100vh;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeIn 1.2s ease-out;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInDown 1s ease;
  line-height: 1.3;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease;
}

/* ===== Page Header ===== */
/* ===== Page Header ===== */
.page-header {
  padding: 70px 0; /* Reduzierter Abstand (vorher 140px oben) */
  text-align: center;
  color: var(--white);
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.9) 0%,
    rgba(67, 160, 71, 0.92) 100%
  );
  margin-top: 0; /* Wichtig: Entfernt den Abstand zur Navbar */
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Optional: Feine Trennlinie */
}

.page-header h1 {
  font-size: 2.3rem; /* Leicht angepasste Größe */
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== Services Section ===== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.service-item {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  flex: 1 1 500px;
  max-width: 350px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
  background: var(--primary-color);
  color: var(--white);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.service-content {
  padding: 30px;
  text-align: center;
}

.service-content h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.service-image-container {
  height: 220px;
  overflow: hidden;
}

.service-image {
  height: 100%;
  width: 100%;
  object-fit: fill;
  transition: transform 0.5s ease;
}

.service-item:hover .service-image {
  transform: scale(1.05);
}

/* Detailed Services */
.detailed .service-item {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  margin-bottom: 40px;
}

.detailed .service-item.reverse {
  flex-direction: column-reverse;
}

.detailed .service-image-container {
  height: 380px;
}

.detailed .service-content {
  text-align: left;
  padding: 40px;
}

.service-details-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  font-size: 1rem;
}

.service-details-list i {
  color: var(--primary-color);
  margin-right: 12px;
  margin-top: 3px;
  font-size: 0.9rem;
}

/* ===== Pricing Section ===== */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  flex: 1 1 300px;
  max-width: 350px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 35px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.popular {
  position: absolute;
  top: 0;
  right: 20px;
  background: var(--primary-color);
  color: var(--white);
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 0 0 6px 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.price-details {
  margin: 25px 0;
  text-align: left;
}

.price-details li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #eee;
  display: flex;
  justify-content: space-between;
}

.price-details li:last-child {
  border-bottom: none;
}

.price-details strong {
  color: var(--secondary-color);
}

/* ===== Contact Section ===== */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-top: 50px;
}

.contact-info {
  flex: 1 1 300px;
}

.info-item {
  display: flex;
  margin-bottom: 30px;
  align-items: flex-start;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 20px;
  margin-top: 5px;
}

.info-item h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.info-item p {
  color: var(--gray);
}

.map-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition);
}

.map-link:hover {
  color: var(--primary-dark);
}

.map-link i {
  margin-left: 5px;
  font-size: 0.8rem;
}

.contact-form {
  flex: 1 1 400px;
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 25px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input {
  width: auto;
  margin-right: 12px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.9rem;
}

.checkbox-group a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* ===== Footer ===== */
footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 70px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col {
  flex: 1 1 250px;
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.footer-col p {
  margin-bottom: 20px;
  opacity: 0.8;
  line-height: 1.7;
}

.footer-col ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.footer-col ul i {
  margin-right: 12px;
  color: var(--primary-color);
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.footer-phone {
  color: rgb(
    0,
    255,
    174
  ) !important; /* Setzt die Farbe der Telefonnummer auf Rot */
  text-decoration: none !important; /* Entfernt die Standard-Unterstreichung */
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.891);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
  font-size: 1.1rem;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.copyright {
  padding: 25px 0;
  border-top: 1px solid rgb(255, 255, 255);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.copyright p {
  opacity: 0.7;
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a {
  color: var(--white);
  opacity: 0.7;
  font-size: 0.9rem;
  transition: var(--transition);
}

.legal-links a:hover {
  opacity: 1;
  color: var(--primary-color);
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  position: relative;
  animation: modalFadeIn 0.3s ease;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: var(--transition);
}

.close:hover {
  color: var(--secondary-color);
  transform: rotate(90deg);
}

/* ===== Animations ===== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .detailed .service-image-container {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav ul {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 1000;
    margin: 0;
    flex-direction: column;
    align-items: center;
  }

  nav ul.show {
    display: flex; /* Wichtig: muss 'flex' sein, wenn Sie Flexbox verwenden */
  }

  nav ul li {
    margin: 15px 0;
  }

  .contact-container {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .detailed .service-image-container {
    height: 280px;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .page-header {
    padding: 100px 0 50px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .modal-content {
    padding: 30px 20px;
    margin: 0 15px;
  }
}
/* Fügen Sie dies AM ENDE Ihrer CSS-Datei ein (nach allen @media queries) */

/* Preise-Seite spezifische Anpassungen */
#preise .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

#preise .pricing-card {
  flex: 1 1 calc(33.333% - 30px);
  min-width: 300px;
  margin-bottom: 0; /* Entfernt unötigen Abstand nach unten */
}

#preise .price-disclaimer {
  flex-basis: 100%;
  margin: 20px 0;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

#preise .additional-prices {
  flex-basis: 100%;
  margin-top: 40px;
  background: var(--light-color);
  padding: 30px;
  border-radius: 12px;
}

/* Responsive Anpassungen für Preise */
@media (max-width: 992px) {
  #preise .pricing-card {
    flex: 1 1 calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  #preise .pricing-card {
    flex: 1 1 100%;
  }
}

/*jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
/* Verbesserte Navigation */
header {
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

nav ul li a::after {
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), #8bc34a);
  transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

nav ul li a:hover::after {
  width: 100%;
  background: var(--primary-color);
}

/* Mobile Menü (unter 768px) */
@media (max-width: 768px) {
  nav ul {
    display: none; /* Standardmäßig versteckt */
    position: fixed;
    top: 80px; /* Höhe Ihrer Navbar */
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 1000;
  }

  nav ul.show {
    display: flex; /* Zeigt Menü bei Klick */
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}
/* Moderner Hero-Hintergrund */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("indexbild.jpg") center/cover no-repeat;
}

.hero-content {
  animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Service-Karten */
.service-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(76, 175, 80, 0.15);
}

.service-image-container {
  height: 250px;
  overflow: hidden;
}

.service-image {
  transition: transform 0.5s ease;
}

.service-item:hover .service-image {
  transform: scale(1.05);
}

/* Service-Icons */
.service-icon {
  background: linear-gradient(135deg, var(--primary-color), #8bc34a);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}
/* Preis-Karten */
.pricing-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(76, 175, 80, 0.12);
}

.featured {
  border: 2px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.popular {
  background: linear-gradient(135deg, var(--primary-color), #8bc34a);
  color: white;
}

.price-details li strong {
  color: var(--primary-dark);
  font-weight: 600;
}

/* Formular-Stil */
.contact-form {
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.btn {
  background: linear-gradient(135deg, var(--primary-color), #8bc34a);
  transition: all 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

/* Moderner Footer */
footer {
  background: #2c3e50;
  border-top: 4px solid var(--primary-color);
}

.footer-col h3::after {
  background: linear-gradient(90deg, var(--primary-color), #8bc34a);
}

.social-links a {
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}
span {
  font-size: 24px; /* Ändert die Schriftgröße */
  color: blue; /* Ändert die Schriftfarbe */
}

/* Für Formularnachrichten */
.form-success,
.form-error {
  padding: 15px;
  margin: 15px 0;
  border-radius: 4px;
  display: flex;
  align-items: center;
}
.form-success {
  background: #e8f5e9;
  color: #2e7d32;
}
.form-error {
  background: #ffebee;
  color: #c62828;
}

/* Cookie Banner Animation */
.cookie-banner-container {
  transition: opacity 0.3s ease;
}

.whatsapp-link {
  color: #25d366; /* WhatsApp-Grün */
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.whatsapp-link i {
  margin-right: 8px;
  font-size: 1.3rem;
}

.whatsapp-link:hover {
  color: #128c7e; /* dunkleres Grün bei Hover */
  text-decoration: underline;
  cursor: pointer;
}
