* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background: #fae5eb;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

/* Header with enhanced styling */
header {
  position: relative;
  background: linear-gradient(135deg, #cd2a94c3 0%, #b91e7ac3 100%);
  padding: 2rem 0;
  text-align: center;
  color: white;
  box-shadow: 0 4px 20px rgba(205, 42, 148, 0.3);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
}

/* Navigation with enhanced styling */
nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(205, 42, 148, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Simplified logo - single class for both container and image */
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo img {
  height: 4rem;
  width: auto;
}

.menu-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #cd2a94c3;
  margin: 4px 0;
  border-radius: 3px;
  transition: 0.3s;
}

.menu-text {
  font-weight: bold;
  color: #cd2a94c3;
  font-size: 1rem;
  cursor: pointer;
}

#menu-checkbox {
  display: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #cd2a94c3;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  background: linear-gradient(135deg, #cd2a94c3, #b91e7ac3);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(205, 42, 148, 0.3);
}

/* Main content with enhanced styling */
.container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.hero-section {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #cd2a94c3, #b91e7ac3, #f8bbd9);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #cd2a94c3;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Features section */
.features-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #cd2a94c3, #b91e7ac3);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  color: #cd2a94c3;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #cd2a94c3;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, #cd2a94c3 0%, #b91e7ac3 100%);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  color: white;
  margin-bottom: 3rem;
  box-shadow: 0 10px 40px rgba(205, 42, 148, 0.3);
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: white;
  color: #cd2a94c3;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Footer with enhanced styling */
footer {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8bbd9;
  margin-bottom: 1rem;
}

.footer-text {
  opacity: 0.8;
  line-height: 1.6;
}

.footer-links {
  margin-top: 1rem;
}

.datenschutz-link {
  color: #f8bbd9;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.datenschutz-link:hover {
  color: white;
  text-decoration: underline;
}

/* Popup Styles */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.popup-content {
  background: white;
  border-radius: 15px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #eee;
  background: linear-gradient(135deg, #cd2a94c3, #b91e7ac3);
  color: white;
  border-radius: 15px 15px 0 0;
}

.popup-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.popup-close {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.popup-body {
  padding: 2rem;
  line-height: 1.6;
}

.datenschutz-content h2 {
  color: #cd2a94c3;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #f8bbd9;
  padding-bottom: 0.5rem;
}

.datenschutz-content h3 {
  color: #cd2a94c3;
  font-size: 1.3rem;
  margin: 1.5rem 0 1rem 0;
}

.datenschutz-content p {
  margin-bottom: 1rem;
  color: #333;
}

.datenschutz-content ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.datenschutz-content li {
  margin-bottom: 0.5rem;
  color: #555;
}

.datenschutz-content em {
  color: #888;
  font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .header-title {
    font-size: 2rem;
  }

  .container {
    padding: 0 1rem;
  }

  .hero-section {
    padding: 2rem;
  }

  .cta-section {
    padding: 2rem;
  }

  .feature-card h3 {
    font-size: 1.2rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid rgba(205, 42, 148, 0.1);
  }

  #menu-checkbox:checked + .nav-links {
    display: flex;
  }
}

@media (min-width: 769px) {
  .menu-label {
    display: none;
  }

  .nav-links {
    display: flex !important;
  }
}

/* Quick fade-in animation for all content */
@keyframes quickFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-section,
.features-grid,
.cta-section {
  animation: quickFadeIn 0.3s ease-out forwards;
}

/* Swoosh animation for header subtitle */
@keyframes swooshIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.header-subtitle {
  animation: swooshIn 0.5s ease-out 0.2s forwards;
  opacity: 0;
}

/* Contact Page Specific Styles */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-info {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #cd2a94c3, #b91e7ac3);
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #cd2a94c3;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 1.5rem;
  color: #cd2a94c3;
  min-width: 40px;
  text-align: center;
}

.contact-text {
  flex: 1;
}

.contact-label {
  font-weight: 600;
  color: #cd2a94c3;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  color: #333;
  line-height: 1.4;
}

.emergency-service {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.emergency-phone {
  color: #d63031;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.map-section {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.map-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #cd2a94c3, #b91e7ac3);
}

.map-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #cd2a94c3;
  margin-bottom: 2rem;
  text-align: center;
}

.map-container {
  margin-bottom: 2rem;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.location-info {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
}

.office-hours {
  margin-bottom: 2rem;
}

.office-hours-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e9ecef;
}

.office-hours-item:last-child {
  border-bottom: none;
}

.transport-info {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  margin-top: 1.5rem;
}

.transport-info h3 {
  color: #cd2a94c3;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.transport-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.transport-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.transport-info li {
  padding: 0.5rem 0;
  color: #666;
  border-bottom: 1px solid #e9ecef;
}

.transport-info li:last-child {
  border-bottom: none;
}

.transport-info li::before {
  content: "🚌";
  margin-right: 0.5rem;
}

.transport-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e9ecef;
}

.transport-item:last-child {
  border-bottom: none;
}

.transport-icon {
  color: #cd2a94c3;
  font-size: 1.2rem;
}

/* Emergency Service Styling */
.emergency-service {
  background: linear-gradient(135deg, #cd2a94c3, #b91e7ac3);
  color: white;
  border-radius: 15px;
  padding: 2rem;
  margin-top: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(205, 42, 148, 0.3);
}

.emergency-service h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.emergency-phone {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
}

.emergency-phone:hover {
  color: #f8bbd9;
}

/* Map Container Styling */
.map-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 15px;
  margin-bottom: 2rem;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}

/* Location Info Styling */
.location-info {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
}

.location-info h3 {
  color: #cd2a94c3;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Office Hours Styling */
.office-hours {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.office-hours-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-weight: 500;
}

/* Transport Info Styling */
.transport-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.transport-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-weight: 500;
}

/* Contact Item Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-item {
  animation: fadeInLeft 0.6s ease forwards;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }
.contact-item:nth-child(5) { animation-delay: 0.5s; }
.contact-item:nth-child(6) { animation-delay: 0.6s; }
.contact-item:nth-child(7) { animation-delay: 0.7s; }

/* Service Page Specific Styles */
.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #cd2a94c3;
  margin-bottom: 1.5rem;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #cd2a94c3, #b91e7ac3);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  color: #cd2a94c3;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #cd2a94c3;
  margin-bottom: 1rem;
}

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

.service-list li {
  padding: 0.5rem 0;
  color: #666;
  border-bottom: 1px solid #e9ecef;
  word-wrap: break-word;
  hyphens: auto;
  line-height: 1.5;
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li::before {
  content: "✓";
  color: #cd2a94c3;
  font-weight: bold;
  margin-right: 0.5rem;
}

.service-category {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #cd2a94c3, #b91e7ac3);
}

.service-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-category h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #cd2a94c3;
  margin-bottom: 1rem;
  text-align: center;
}

/* Responsive adjustments for new classes */
@media (max-width: 768px) {
  .contact-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info h2,
  .map-section h2 {
    font-size: 1.5rem;
  }

  .contact-info,
  .map-section {
    padding: 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .service-card h3,
  .service-category h2 {
    font-size: 1.2rem;
  }

  .header-title {
    font-size: 2rem;
  }

  .container {
    padding: 0 1rem;
  }

  .transport-info {
    flex-direction: column;
    gap: 1rem;
  }
}
