/* Global Resets & Basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #515455;
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Colors & Buttons */
.orange { color: #f47b33; }
.blue { color: #447DAA; }

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-orange {
  background-color: #f47b33;
  color: #ffffff;
}
.btn-orange:hover {
  background-color: #e05e00;
  color: #ffffff;
}

.btn-blue {
  background-color: #447DAA;
  color: #ffffff;
}
.btn-blue:hover {
  background-color: #345E80;
}

.btn-outline {
  background-color: transparent;
  border-color: #447DAA;
  color: #447DAA;
}
.btn-outline:hover {
  background-color: #345E80;
  color: #ffffff;
}

.full-width {
  width: 100%;
}

/* Header & Navigation */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #e9ecef;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo-img {
  height: 70px;
  width: auto;
  display: block;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #212529;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  font-weight: 500;
  color: #495057;
}
nav a:hover {
  color: #f47b33;
}
nav ul li a.active {
  color: #f47b33; 
}

/* Burger Button (Mobile) */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger-menu span {
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.85)), url('hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 1.5rem;
  text-align: center;
}


.hero-content {
  max-width: 1100px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #515455;
}

.hero .tagline {
  font-size: 1.15rem;
  color: #6c757d;
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
}

/* Hero Cards Container */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  text-align: left;
}

.card {
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  border: 2px solid #515455;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card.highlight {
  background: #515455;
  color: #ffffff;
}

.card.highlight h2 {
  color: #ffffff;
}

.card-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: #f47b33;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #515455;
}

.card p {
  font-size: 0.95rem;
  color: #adb5bd;
  margin-bottom: 1.2rem;
}

.card:not(.highlight) p {
  color: #6c757d;
}

.card-usp-box {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid #f47b33;
  padding: 0.8rem;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  border-radius: 0 4px 4px 0;
}

.card-price {
  font-size: 1.8rem;
  font-weight: bold;
  color: #515455;
}

/* Pricing Section */
.pricing-section {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.pricing-section h2 {
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid #f47b33;
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.12);
}

.badge-featured {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #f47b33;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.pricing-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem 0 0.2rem 0;
  color: #515455;
}

/* Schedule / Termine Section */
.schedule-section {
  padding: 4rem 1.5rem;
  background-color: #ffffff;
}

.schedule-container {
  max-width: 900px;
  margin: 0 auto;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

/* Testimonials Styling */
.testimonials-section {
  padding: 4rem 1.5rem;
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.testimonials-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

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

.testimonial-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-text {
  font-style: italic;
  color: #495057;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author strong {
  display: block;
  color: #212529;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: #6c757d;
}

/* Page Header & Detail Page Styles */
.page-title-section {
  padding: 3rem 1.5rem 1.5rem 1.5rem;
  text-align: center;
  background: #f1f5f9;
}

.weekly-structure-box {
  background: #eef6ff;
  border-left: 4px solid #447DAA;
  padding: 1.2rem;
  border-radius: 6px;
  margin-bottom: 2rem;
}

.weekly-structure-box ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
}

.weekly-structure-box li {
  margin-bottom: 0.4rem;
}

.courses-detail-section {
  padding: 3rem 1.5rem;
}

.courses-detail-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

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

.course-detail-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.highlight-card {
  background: #fff8f3;
  border-color: #f47b33;
}

.featured-border {
  border: 2px solid #f47b33;
  box-shadow: 0 4px 15px rgba(255,107,0,0.15);
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.tag {
  background: #e9ecef;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}

.tag-orange {
  background: #f47b33;
  color: #fff;
}

.bundle-bonus {
  background: #fff;
  border: 1px dashed #f47b33;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin: 1rem 0;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.price-tag {
  font-size: 1.25rem;
  font-weight: bold;
}

/* Footer */
footer {
  background-color: #515455;
  color: #adb5bd;
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer a {
  color: #ffffff;
}
footer a:hover {
  color: #f47b33;
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  nav.active {
    max-height: 300px;
  }

  nav ul {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    align-items: center;
  }

  /* Burger Animation X */
  .burger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .burger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .schedule-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
}
@media (max-width: 768px) {
  /* 1. Hero-Sektion kompakter gestalten & Bild oben fixieren */
  .hero {
    padding: 2.5rem 1rem 2rem 1rem !important;
    background-position: center top !important; /* Motiv bleibt oben sichtbar */
  }

  /* 2. Überschrift auf Mobilgeräten verkleinern */
  .hero h1 {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
    margin-bottom: 1rem !important;
  }

  /* 3. Untertitel platzsparender machen */
  .hero p {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1.5rem !important;
  }

  /* 4. Die dunkle Empfehlungs-Box kompakter machen */
  .hero .card, 
  .hero-card { 
    padding: 1.25rem !important;
    margin-top: 1rem !important;
  }

  .hero .card h3 {
    font-size: 1.2rem !important;
  }
}

/* Eingeklappt: Einheitsgröße */
.course-detail-card {
  height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Ausgeklappt: Höhe dynamisch freigeben */
.course-detail-card:has(details[open]),
.course-detail-card.is-expanded {
  height: auto !important;
  min-height: 460px;
}

/* Kacheln als Flex-Container definieren */
.card, .pricing-card {
  display: flex;
  flex-direction: column;
}

/* Preis- und Button-Bereich nach unten schieben und zentrieren */
.price-block {
  margin-top: auto;
  text-align: center;
}