/* =================================================
   RESET & BASIS
================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', system-ui, sans-serif;
  background-color: #FAF7F2;
  color: #2F2B26;
  line-height: 1.6;
  padding-top: 90px; /* Platz für fixierten Header */
}

.hero {
  background: transparent;
}

.paths {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 6rem 0;
}

/* warmer Beige-Overlay */
.paths::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(243, 230, 207, 0.75); /* #F3E6CF mit Transparenz */
}

/* Inhalt wieder über Overlay legen */
.paths .container {
  position: relative;
  z-index: 2;
}

/* =================================================
   COURSES – SECTION MIT FESTEM BACKGROUND-BILD
================================================= */

.courses {
  position: relative;
  background-image: url("../verlauf2.png"); /* dein Bild */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 0;
}

/* warmes Overlay für Lesbarkeit */
.courses::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(246, 239, 231, 0.85); /* leichter warmer Schleier */
}

/* Inhalt über Overlay */
.courses .container {
  position: relative;
  z-index: 2;
}

.training-sachsen {
  background: #ffffff;
  padding: 80px 0;
}

.about-zos {
  background: #f6efe7;
  padding: 80px 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =================================================
   TYPOGRAFIE
================================================= */
h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #5B2A4A;
}

h1 { font-size: 2.8rem; line-height: 1.2; }
h2 { font-size: 2.2rem; margin-bottom: 1.5rem; position: relative; }
h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #EEB95B;
  margin-top: 0.6rem;
  border-radius: 2px;
}

section h2 {
  margin-bottom: 2rem;
}

h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
p { margin-bottom: 1rem; }

/* =================================================
   LAYOUT
================================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

section {
  padding: 6rem 0;
}

/* =================================================
   HEADER / NAVIGATION
================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #FAF7F2;
  border-bottom: 1px solid #D6D1C8;
  z-index: 999;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 1.2rem;
  flex-direction: row-reverse; /* Logo rechts, Menü links */
}

/* Logo */
.site-header .logo img {
  height: 50px;
  max-height: 60px;
}

/* Navigation Desktop */
.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  color: #5B2A4A;
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #EEB95B;
  transition: width 0.3s ease;
}

.main-nav a:hover::after { width: 100%; }

.main-nav a.active {
  color: #C86A3A;
  font-weight: 700;
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: #C86A3A;
  border-radius: 2px;
}

/* =================================================
   HAMBURGER (MOBILE)
================================================= */
.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  z-index: -1;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

.nav-toggle-label span {
  display: block;
  width: 26px;
  height: 3px;
  background: #5B2A4A;
  border-radius: 2px;
  position: relative;
  transition: all 0.3s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 3px;
  background: #5B2A4A;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle-label span::before { top: -8px; }
.nav-toggle-label span::after { top: 8px; }

/* =================================================
   HERO
================================================= */
.hero {
  position: relative;
  min-height: 70vh;
  overflow: visible;
}

.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Textbox */
.hero-inner {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  max-width: 600px;
  padding: 2rem 2.4rem;
  background-color: rgba(200, 106, 58, 0.65);
  border-radius: 14px;
  color: #FAF7F2;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(91, 42, 74, 0.35);
}

.hero h1, .hero p { color: #FAF7F2; }
.hero p { font-size: 1.1rem; }

.hero-buttons {
  margin-top: 1.6rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Logo unten rechts auf Hero */
.hero .logo-hero {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  height: 120px;
  width: auto;
  z-index: 5;
}

/* Mobile */
@media (max-width: 768px) {
  .hero .logo-hero {
    height: 70px;        
    bottom: 0.8rem;      
    right: 0.8rem;
    max-width: 40%;      
  }

  .hero-inner {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 2rem auto;
    padding-bottom: 3rem; 
  }
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.5),
    transparent 60%
  );
  pointer-events: none;
}

/* =================================================
   BUTTONS
================================================= */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
}


.btn-primary { background: #EEB95B; color: #2F2B26; }
.btn-primary:hover {
  background: #C86A3A;
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-secondary { background: #5B2A4A; color: #FAF7F2; }
.btn-secondary:hover { background: #4a223c; }

/* =================================================
   CARDS / GRIDS
================================================= */
.card-grid { display: grid; gap: 2.2rem; }

.card-grid.two-columns {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 900px;
  margin: 0 auto;
}

.card {
  background: #ffffff;
  padding: 2.4rem;
  border-radius: 18px;
  border: 1px solid #D6D1C8;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 30px rgba(184,164,138,0.25);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(184,164,138,0.35);
}

.text-link {
  color: #C86A3A;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

/* =================================================
   SPEZIELLE SEKTIONEN
================================================= */
.training-sachsen { background: #F3E6CF; text-align: center; }
.about-zos { background: #FAF7F2; }

/* =================================================
   FOOTER
================================================= */
.site-footer {
  background: #5B2A4A;
  color: #FAF7F2;
  padding: 2rem 0;
  font-family: 'Lato', sans-serif;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.footer-logo-img {
  height: 50px;
  transition: transform 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.05);
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #FAF7F2;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #EEB95B;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.social-icon {
  height: 28px;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

.footer-copy {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 1rem;
}

/* =================================================
   RESPONSIVE / MOBILE
================================================= */
@media (max-width: 768px) {

  h1 { font-size: 2rem; }

  section { padding: 3rem 0; }

  .nav-toggle-label { display: block; }

  .main-nav ul {
    display: none;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    width: 100%;
    background: #FAF7F2;
  }

  .nav-toggle:checked + .nav-toggle-label + .main-nav ul {
    display: flex;
  }

  .nav-toggle:checked + .nav-toggle-label span { background: transparent; }
  .nav-toggle:checked + .nav-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
  }
  .nav-toggle:checked + .nav-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}