/* GENERAL STYLES */

:root {
  --primary-color: #344e41;
  --secondary-color: #a3b18a;
  --tertiary-color: #f2e9e1;
  --accent-color: #a68a64;
  --bg-color: #f2e9e1;
}

	a {
		-moz-transition: color 0.2s ease, border-bottom-color 0.2s ease;
		-webkit-transition: color 0.2s ease, border-bottom-color 0.2s ease;
		-ms-transition: color 0.2s ease, border-bottom-color 0.2s ease;
		transition: color 0.2s ease, border-bottom-color 0.2s ease;
		color: inherit;
		text-decoration: none;
	}

  a:hover {
    color: var(--primary-color); 
  }

body {
  /* font-family: "Open Sans", Helvetica, sans-serif; */
		font-size: 12pt;
		font-weight: 400;
		letter-spacing: 0.075em;
	  line-height: 1.65em;
  font-family: 'Mulish', sans-serif;
  background-color: var(--bg-color);
  color: #2f2f2f;
}

h1, h2, h3, h4, h5, h6 {
		color: #344e41;
		font-weight: 700;
		letter-spacing: 0.2em;
		line-height: 1em;
		margin: 0 0 1em 0;
		text-transform: uppercase;
	}

	h2 {
		font-size: 1.35em;
		line-height: 1.75em;
	}

	h3 {
		font-size: 1.15em;
		line-height: 1.75em;
    color: #a68a64;
	}

.btn-primary {
  background-color: var(--accent-color);
  border: none;
	text-transform: uppercase;
		-moz-appearance: none;
		-webkit-appearance: none;
		-ms-appearance: none;
		appearance: none;
		-moz-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
		-webkit-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
		-ms-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
		transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
		border-radius: 3px;
		color: #fff;
		font-size: 0.8em;
		font-weight: 600;
		height: 3em;
		letter-spacing: 0.225em;
		line-height: 3.125em;
		padding: 0 2.75em;
		text-transform: uppercase;
		white-space: nowrap;
}

.btn-primary:hover {
  background-color: #a3b18a;
  
}

/* NAVBAR */

.navbar {
  background-color: var(--primary-color);
}

.navbar-brand,
.nav-link {
  color: #fff !important;
}

/* HOME: HEADER */

.hero {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
    url('../../img/hero.jpg') center center/cover no-repeat;
  background-attachment: fixed;
    height: 95vh;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);


}

.hero h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #f2e9e1;
}

.hero p {
  font-size: 1.5rem;
  max-width: 700px;
}

/* HOME: INTRO SECTION */

.section-intro {
  padding: 4rem 1rem;
}

.section-intro h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-intro p {
  max-width: 800px;
  margin: 0 auto;
  color: #444;
}

/* HOME: FEATURES */

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
}

.feature-box {
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  max-width: 300px;
}

.feature-box i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-feature {
  padding: 4rem 1rem;
}

.section-feature h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* HOME: COURSES */

.course-card img {
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.card.course-card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* HOME: CTA */

.cta {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
    url('../../img/hero.jpg') center center/cover no-repeat;
    background-attachment: fixed;
    padding: 100px 0 100px;
    color: #fff;
    text-align: center;
}


/* HOME: VORTEILE */

.section-about-2 {
  padding: 4rem 1rem;
}

.about-image-wrapper {
  position: relative;
}

.about-main-img {
  width: 100%;
  max-width: 500px; /* Begrenzung der Bildbreite */
  height: auto; /* Automatische Höhe entsprechend dem Seitenverhältnis */
  border-radius: 1rem;
  z-index: 2;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  display: block;
}

.about-dots {
  position: absolute;
  bottom: -40px;
  right: -10px;
  z-index: 1;
  width: 200px;
}

.about-left-bar {
  content: '';
  position: absolute;
  left: -30px;
  top: 0;
  height: 100%;
  width: 15px;
  background-color: var(--primary-color);
  border-radius: 3px;
  z-index: 3;
}

.check-icon {
  width: 36px;
  height: 36px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}

/* ABOUT */

  .overlap-container {
    position: relative;
    z-index: 1;
    transform: translateY(-50px);
  }

  @media (min-width: 768px) {
    .overlap-container {
      transform: translateY(-100px);
    }
  }

/* ABOUT: TEAM */

.about-team {
  margin-top: 30px;
}

/* CONTACT */

.contact-hero {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
    url('../../img/hero.jpg') center center/cover no-repeat;
  background-attachment: fixed;
  color: white;
  padding: 120px 0;
  text-align: center;
}

.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.contact-hero p {
  font-size: 1.2rem;
}

.contact-section {
  padding: 4rem 1rem;
}

.contact-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.contact-section form .form-label {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.contact-section form .form-control {
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.contact-section form button {
  margin-top: 1rem;
}

/* FOOTER */

.footer {
  background-color: var(--primary-color);
  color: white;
  clip-path: polygon(50% 0%, 100% 24%, 100% 100%, 0 100%, 0 24%);
  margin-top: 80px;
}

.footer-text {
  margin-top: 100px;
}
