/* ====== Hero Sektion optimiert ====== */
.hero-welcome {
  position: relative;
  background-color: #ffffff;
  padding: 40px 20px;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;

  min-height: 35vh;
  background: url('/assets/img/hero-dog.webp') no-repeat center center / cover;
  overflow: hidden;
  z-index: 0;
}

.hero-welcome::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
  border-radius: 10px;
}

.hero-welcome h1,
.hero-welcome .hero-subtitle {
  position: relative;
  z-index: 2;
}

.hero-welcome h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: 0.8rem;
  max-width: 600px;
  margin: 0 auto;
  color: #ffffff;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.8);
}

/* ====== Öffnungszeiten ====== */
.zeiten {
  background-color: #ffffff;
  padding: 40px 20px;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.zeiten h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.zeiten table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

.zeiten th,
.zeiten td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.zeiten th {
  background-color: #f0f4f8;
  color: #2c3e50;
}

.zeiten tbody tr:hover {
  background-color: #f9f9f9;
}

/* ====== Trainingsangebote ====== */
.trainingsangebote {
  background-color: #fff;
  padding: 60px 20px;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.trainingsangebote h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.trainingsangebote .intro {
  text-align: center;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555;
}

.trainings-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.training-box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.training-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.training-box h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #436181;
}

.training-box p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ====== Anfahrt ====== */
.anfahrt {
  background-color: #fff;
  padding: 40px 20px;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.anfahrt h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.anfahrt iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 8px;
  margin: 20px 0;
}

/* ====== Kontakt ====== */
.kontakt {
  background-color: #fff;
  padding: 40px 20px;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.kontakt h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.kontakt p {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #444;
}

.kontakt-button-wrapper {
  text-align: center;
  margin-top: 20px;
}

.kontakt-button {
  display: inline-block;
  background-color: #436181;
  color: #fff;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.kontakt-button:hover {
  background-color: #2c3e50;
  transform: translateY(-2px);
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .zeiten th,
  .zeiten td {
    padding: 10px;
    font-size: 0.95rem;
  }

  .trainings-grid {
    flex-direction: column;
    gap: 20px;
  }

  .training-box {
    max-width: 100%;
  }

  .anfahrt iframe {
    height: 300px;
  }
}

/* ====== Responsive Optimierungen ====== */
@media (max-width: 768px) {
  .hero-welcome {
    padding: 60px 15px;
  }

  .hero-welcome h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-button {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .trainings-grid {
    flex-direction: column;
    gap: 20px;
  }

  .training-box {
    max-width: 100%;
  }

  .anfahrt iframe {
    height: 300px;
  }

  .kontakt-button {
    font-size: 1rem;
    padding: 12px 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-welcome {
    padding: 80px 20px;
  }

  .hero-welcome h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .training-box {
    flex: 1 1 45%;
  }

  .anfahrt iframe {
    height: 380px;
  }
}

@media (min-width: 1025px) {
  .hero-welcome {
    padding: 120px 40px;
  }

  .hero-welcome h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }
}

.scroll-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #2c3e50;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.scroll-button:hover {
  background-color: #1a252f;
  transform: scale(1.05);
}
