/*
 * laufundkraft Website Stylesheet
 *
 * Dieses Stylesheet definiert das einheitliche Erscheinungsbild für alle
 * Seiten der neugestalteten Website. Ziel war es, eine klare, moderne
 * Optik zu erreichen, die an das minimalistische Design von Apple
 * erinnert. Dezente Farben, viel Weißraum und klare Typografie helfen
 * den Inhalten zu wirken und die Navigation zu erleichtern.
 */

/* Grundlegende Layoutregeln */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #e53935;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Container hilft dabei, Inhalte zentriert und mit maximaler Breite
 * darzustellen, ohne dass sie zu breit werden. */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Kopfbereich mit Logo, Claim und Navigation */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .header-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
header .branding {
  display: flex;
  align-items: center;
}
header .branding img {
  height: 60px;
  width: auto;
  margin-right: 15px;
}
header .branding .tagline h1 {
  margin: 0;
  font-size: 1.4rem;
  color: #333;
}
header .branding .tagline p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

/* Button zum Umschalten des Dark‑Modes */
.dark-mode-toggle {
  background: none;
  border: none;
  color: #e53935;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  margin-left: 10px;
  transition: color 0.2s;
}
.dark-mode-toggle:hover {
  color: #c62828;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  /* Flex‑Layout mit großzügigerem Abstand für ein ruhigeres Gesamtbild */
  display: flex;
  gap: 2rem;
  align-items: center;
}
nav ul li a {
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 0;
  position: relative;
  transition: color 0.2s;
}
/* dezent animierte Unterstreichung beim Hover oder aktivem Link */
nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #e53935;
  transition: width 0.3s ease;
}
nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

/* beim Hover oder aktiven Link die Textfarbe ändern */
nav ul li a:hover,
nav ul li a.active {
  color: #e53935;
}

/* Heldensektion (Hero) */
/* Heldensektion (Hero) */
.hero {
  /* sanfter Farbverlauf für den Hero-Bereich */
  background: linear-gradient(135deg, #ffffff 0%, #fdf4f5 50%, #ffe6e6 100%);
  text-align: center;
  /* durch mehr vertikale Abstände wirkt der Banner großzügiger */
  padding: 100px 20px;
  border-bottom: 1px solid #e5e5e5;
}
.hero img {
  /* Bild im Hero – für den neuen Banner etwas größer gestalten */
  max-width: 400px;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}
.hero h2 {
  font-size: 2.4rem;
  margin: 0 0 20px;
  color: #333;
}
.hero p {
  font-size: 1.2rem;
  margin: 0 0 30px;
  color: #555;
}
.button {
  display: inline-block;
  background-color: #e53935;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.2s;
}
.button:hover {
  background-color: #c62828;
}

/* Allgemeine Abschnittsklasse */
.section {
  padding: 40px 20px;
  background-color: #f9f9f9;
}
.section h2, .section h3 {
  color: #333;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.section h3 {
  font-size: 1.4rem;
  margin-top: 40px;
}

/* Features auf der Startseite */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature {
  flex: 1 1 250px;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature h4 {
  margin-top: 0;
  color: #e53935;
  font-size: 1.1rem;
}

/* Hover-Effekt für Feature-Karten */
.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* Leistungen – Kartenansicht */
.services {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-card {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.service-card h4 {
  margin-top: 0;
  color: #e53935;
}
.service-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-card ul li {
  margin-bottom: 4px;
}

/* Testimonials */
.testimonial {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.testimonial h4 {
  margin-top: 0;
  color: #e53935;
}
.testimonial p {
  font-style: italic;
  color: #555;
}

/* Bilder innerhalb von Testimonials, z.B. Vereinslogos */
.testimonial img {
  display: block;
  width: 150px; /* feste Breite für Vereinslogos */
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

/* Trainer-Portrait auf der Über-mich-Seite */
.about-photo {
  display: block;
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 0 auto 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Kontaktformular */
.contact-form {
  max-width: 600px;
  margin-top: 20px;
}
.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #e53935;
}
.contact-form button {
  background-color: #e53935;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.contact-form button:hover {
  background-color: #c62828;
}

/* Liste der Qualifikationen */
ul.qualifications {
  list-style: none;
  padding-left: 0;
}
ul.qualifications li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
ul.qualifications li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  color: #e53935;
  font-weight: bold;
}

/* Footer */
footer {
  background-color: #ffffff;
  border-top: 1px solid #e5e5e5;
  padding: 20px 0;
  text-align: center;
  color: #666;
}
footer a {
  color: #e53935;
  margin: 0 10px;
}
footer a:hover {
  text-decoration: underline;
}

/* Social-Media-Icons im Footer */
.social-icons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}
.social-icons a {
  color: #e53935;
  font-size: 1.4rem;
  transition: color 0.2s;
}
.social-icons a:hover {
  color: #c62828;
}

/* Bilder in den Social‑Media‑Icons (z.B. Instagram) responsive darstellen */
.social-icons img {
  /* Icon leicht vergrößert für bessere Sichtbarkeit */
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: middle;
}

/* Modal für das Premium-Training */
#premium-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none; /* wird durch JS ein- und ausgeblendet */
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
#premium-modal .premium-modal-content {
  background-color: #ffffff;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
#premium-modal .premium-modal-content h3 {
  margin-top: 0;
  color: #e53935;
  font-size: 1.6rem;
}
#premium-modal .premium-modal-content p {
  margin: 15px 0;
  color: #555;
  line-height: 1.5;
}
#premium-modal .premium-modal-content .button {
  margin-top: 20px;
}
#close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  transition: color 0.2s;
}
#close-modal:hover {
  color: #e53935;
}

/* Video-Impressionen */
.video-section {
  text-align: center;
  background-color: #ffffff;
  padding: 40px 20px;
  border-top: 1px solid #e5e5e5;
}
.video-section h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #333;
}
.video-container {
  display: flex;
  justify-content: center;
}
.video-container video {
  /* Reduziere die maximale Breite des Videos, damit es eingebettet wirkt */
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Dark-Mode-Stile */
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}
body.dark-mode header {
  background-color: #1c1c1c;
  border-bottom-color: #333;
}
body.dark-mode .section {
  background-color: #1c1c1c;
}
body.dark-mode .feature,
body.dark-mode .service-card,
body.dark-mode .testimonial {
  background-color: #242424;
  border-color: #333;
}
body.dark-mode .button {
  background-color: #e53935;
  color: #fff;
}
body.dark-mode a {
  color: #ff867c;
}
body.dark-mode .dark-mode-toggle {
  color: #ff867c;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 10px;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .features {
    flex-direction: column;
  }
}