body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
}

/* Hero Section */
.hero-section {
  background-image: url('back.png');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  color: white;
  border-radius: 10px;
  max-width: 800px;
}

.hero-overlay h1 {
  font-size: 2.5rem;
  color: #6ee7b7;
}

.hero-overlay p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.cta-button {
  display: inline-block;
  background-color: #059669;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 1rem;
}

.cta-button:hover {
  background-color: #047857;
}

.hero-text {
  text-align: left;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

/* Hotline Section */
.hotline-section {
  background-color: #f3f4f6;
  padding: 3rem 1rem;
}

.hotline-box {
  max-width: 500px;
  margin: auto;
  text-align: center;
}

.hotline-icon {
  font-size: 2.5rem;
  color: #059669;
  margin-bottom: 0.5rem;
}

.hotline-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.hotline-number {
  font-size: 1.25rem;
  font-weight: bold;
}

.hotline-box hr {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid #ccc;
}

.address p {
  margin: 0.25rem 0;
}

/* Map Section */
.map-section iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* Form Section */
/* ---- FORM SECTION UPGRADE ---- */

.form-section {
  background: linear-gradient(135deg, #f0fdfa, #ecfdf5);
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(34, 197, 94, 0.15);
  filter: blur(100px);
  z-index: 0;
}

.form-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 800px;
  margin: auto;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-wrapper h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #065f46;
  font-weight: 700;
}

/* Form Fields Already Defined */

form {
  display: grid;
  gap: 1rem;
}

fieldset {
  border: none;
  margin-bottom: 1.5rem;
}

legend {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

input,
textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 0.25rem;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

button {
  padding: 0.75rem 2rem;
  background-color: #059669;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  width: fit-content;
  margin-top: 1rem;
}

button:hover {
  background-color: #047857;
}
/* Form Enhancements */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 0.75rem 0.25rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: transparent;
  transition: border-color 0.3s;
}

.form-group textarea {
  resize: vertical;
}

.form-group label {
  position: absolute;
  left: 0.75rem;
  top: 1rem;
  background: white;
  color: #888;
  font-size: 0.9rem;
  transition: 0.2s ease all;
  pointer-events: none;
  padding: 0 4px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #059669;
  outline: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.6rem;
  left: 0.5rem;
  font-size: 0.75rem;
  color: #059669;
}

.form-group.wide {
  grid-column: span 2;
}

.form-submit {
  margin-top: 1rem;
}

.form-message {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #059669;
}
.checkbox-row {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  gap: 0.4rem;
  margin-top: 1rem;
}

.checkbox-row input[type="checkbox"] {
  margin: 0;
  width: 16px;
  height: 16px;
}

.checkbox-row label {
  display: inline;
  line-height: 1.2;
  color: #444;
}

.checkbox-row a {
  color: #059669;
  text-decoration: underline;
}
/* Vibrate Animation */
@keyframes vibrate {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(10deg); }
  40% { transform: rotate(-10deg); }
  60% { transform: rotate(10deg); }
  80% { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); }
}

.hotline-icon {
  font-size: 3rem;
  color: #059669;
  animation: vibrate 1.5s infinite;
  cursor: pointer;
}

.clickable-number {
  color: #059669;
  text-decoration: underline;
  cursor: pointer;
}

/* Vibration for phone icon */
@keyframes vibrate {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(10deg); }
  40% { transform: rotate(-10deg); }
  60% { transform: rotate(10deg); }
  80% { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); }
}

.hotline-icon {
  font-size: 3rem;
  color: #059669;
  animation: vibrate 1.5s infinite;
  cursor: pointer;
}

.clickable-number {
  color: #059669;
  text-decoration: underline;
  cursor: pointer;
}

/* Modal styling */
.hotline-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotline-modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  max-width: 90%;
  width: 350px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hotline-modal-content h4 {
  font-size: 1.25rem;
  color: #059669;
  margin-bottom: 1rem;
}

.hotline-button {
  display: block;
  background: #059669;
  color: #fff;
  text-decoration: none;
  margin: 0.5rem 0;
  padding: 0.75rem;
  border-radius: 6px;
  transition: background 0.3s;
}

.hotline-button:hover {
  background: #047857;
}

.hotline-close {
  margin-top: 1rem;
  background: transparent;
  border: 1px solid #ccc;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  color: #333;
}

.hidden {
  display: none;
}
.city-grid {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  padding: 3rem 1rem;
  text-align: center;
  border-top: 1px solid #ccc;
  box-shadow: inset 0 10px 25px rgba(0, 0, 0, 0.05);
  
}

.city-grid h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #065f46;
  font-weight: 700;
}

.city-columns {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.city-columns ul {
  list-style: none;
  padding: 1rem;
  margin: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  width: 220px;
}

.city-columns li {
  margin: 0.5rem 0;
}

.city-columns button {
  background: #059669;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  transition: background 0.3s;
}

.city-columns button:hover {
  background: #047857;
}
 
input:invalid, textarea:invalid {
  border-color: #dc2626;
}
.hero-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
 
/* 👇 Prevent red borders on untouched required fields */
input:required,
textarea:required {
  border: 1px solid #ccc;
  outline: none;
}

input:focus:invalid,
textarea:focus:invalid {
  border-color: #dc2626; /* red border only after user interacts */
}
.seo-footer {
  background-color: #f9f9f9;
  padding: 2rem 1rem;
  font-size: 0.95rem;
  color: #047857;
}

.seo-footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.6;
}

.seo-footer h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1f2937;
}

.seo-cta {
  margin-top: 1.5rem;
  font-weight: 500;
}

.seo-cta a {
  color: #1d4ed8;
  text-decoration: underline;
}

.seo-cta a:hover {
  text-decoration: none;
}
 .whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.whatsapp-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.impressum-link {
    display: inline-block;
    color: white;
    background-color: #047857;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #cce0f5;
  }

  .impressum-link:hover {
    background-color: #047857;
    color: #001f4d;
  }
.topnav {
  background-color: #047857;
  padding: 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
}

nav a {
  color: #ffffff;
  font-size: 15px;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: #047857;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  color: #333333;
  padding: 20px 30px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 250px;
  line-height: 1.5;
}

.cookie-banner a {
  color: #339966; /* plant green link */
  text-decoration: underline;
  font-weight: 500;
}

.cookie-banner button {
  background-color: #339966; /* plant green */
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  margin-right: 45px;
}

.cookie-banner button:hover {
  background-color: rgba(226, 232, 229, 0.403); /* darker green on hover */
}

/* Updated Colors */


/* Navigation Bar */
.site-header {
  background-color: #339966;
  color: white;
  padding: 15px 20px;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}
.main-nav a:hover {
  text-decoration: underline;
}
.logo {
  font-weight: bold;
  font-size: 20px;
  color: white;
  text-decoration: none;
}
a {
  color: #388E3C;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: black; /* optional: green on hover */
}
.marken-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1rem 0;
}

.marken-grid span {
  background-color: #91c894;
  border-radius: 8px;
  padding: 10px 15px;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
}

.marken-grid span:hover {
  background-color: #e0f2f1;
  cursor: default;
}
 
@media (max-width: 768px) {
  .hero-text, .form-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .hero-section h1 {
    font-size: 1.5rem;
  }

  .cta-button {
    width: 100%;
  }
}
/* === Mobile Styles for Navigation === */
.nav-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Hide nav by default on mobile */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #339966; /* match your header */
    padding: 10px 0;
    margin-top: 10px;
  }

  .main-nav a {
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav.open {
    display: flex;
  }
}
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 10px;
  }

  .hero-section h1 {
    font-size: 1.6rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .whatsapp-button {
    font-size: 0.9rem;
    padding: 10px 16px;
  }

  .whatsapp-icon {
    width: 20px;
    height: 20px;
  }
}
.card-section {
  background-color: #f9fafb;
  padding: 4rem 1rem;
}

.card-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .card-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background-color: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
  text-align: center;
}

.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.card-content p {
  color: #4b5563;
  font-size: 1rem;
}

.info-boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .info-boxes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-boxes .box {
  background-color: #ffffff;
  border-left: 6px solid green; /* blue accent */
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-boxes .box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.info-boxes h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #1f2937;
}

.info-boxes p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
}
