:root {
  --green-dark: #18320f;
  --green: #6fae32;
  --green-soft: #eef6e8;
  --orange: #e88916;
  --text: #1d1d1d;
  --muted: #666;
  --border: #ddd;
  --white: #fff;
  --max-width: 1120px;
}

/* =========================================================
   Grundlayout
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

/* =========================================================
   Kopfbereich / Navigation
   ========================================================= */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.logo {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 600;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--green);
}

/* =========================================================
   Typografie
   ========================================================= */

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #cfe8be;
  margin-bottom: 10px;
}

.eyebrow.dark {
  color: var(--green);
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin: 0 0 18px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin-top: 0;
}

h3 {
  margin-top: 0;
  color: var(--green-dark);
}

.lead {
  font-size: 1.25rem;
  max-width: 560px;
}

/* =========================================================
   Buttons / Links
   ========================================================= */

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--green-dark);
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--green);
}

/* =========================================================
   Startseite Hero
   ========================================================= */

.hero {
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(24, 50, 15, 0.88), rgba(24, 50, 15, 0.35)),
    url("../images/header.jpg") center / cover no-repeat;
  color: var(--white);
  display: flex;
  align-items: center;
}

.hero-content {
  padding: 80px 0;
}

.hero-text {
  max-width: 650px;
}

.hero-subline {
  font-size: 1.08rem;
  max-width: 620px;
  margin-top: -4px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* =========================================================
   Unterseiten Hero
   ========================================================= */

.page-hero {
  color: var(--white);
  padding: 90px 0;
  background-color: var(--green-dark);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero-kurse {
  background:
    linear-gradient(90deg, rgba(24, 50, 15, 0.92), rgba(24, 50, 15, 0.55)),
    url("../images/header-kurse.jpg") center / cover no-repeat;
}

.page-hero-preise {
  background:
    linear-gradient(90deg, rgba(24, 50, 15, 0.92), rgba(24, 50, 15, 0.55)),
    url("../images/header-preise.jpg") center / cover no-repeat;
}

.page-hero-wissen {
  background:
    linear-gradient(90deg, rgba(24, 50, 15, 0.92), rgba(24, 50, 15, 0.55)),
    url("../images/header-wissen.jpg") center / cover no-repeat;
}

.page-hero-kontakt {
  background:
    linear-gradient(90deg, rgba(24, 50, 15, 0.92), rgba(24, 50, 15, 0.55)),
    url("../images/header-kontakt.jpg") center / cover no-repeat;
}

.page-hero-legal {
  background:
    linear-gradient(90deg, rgba(24, 50, 15, 0.92), rgba(24, 50, 15, 0.55)),
    url("../images/header-legal.jpg") center / cover no-repeat;
}

/* =========================================================
   Allgemeine Inhaltsbereiche
   ========================================================= */

.content-section {
  padding: 70px 0;
}

.content-section h2 {
  color: var(--green-dark);
}

.alt-section {
  background: var(--green-soft);
}

.section-image {
  display: block;
  width: 100%;
  max-width: 860px;
  height: auto;
  margin: 0 0 30px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.image-note {
  margin-top: -18px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
}

.article-image-wide {
  width: 100%;
  max-width: 100%;
  margin: 28px 0 34px;
}

/* =========================================================
   Startseite: Intro
   ========================================================= */

.intro-section {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 42px;
  align-items: start;
}

.intro-image {
  margin-top: 24px;
  margin-bottom: 30px;
}

.intro-card {
  background: var(--green-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  margin-top: 136px;
  max-width: 330px;
  justify-self: end;
}

.intro-card h3 {
  margin-bottom: 14px;
}

.intro-card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

/* =========================================================
   Karten allgemein / Startseite Grundsätze
   ========================================================= */

.cards-section {
  padding: 70px 0;
  background: var(--green-soft);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.principle-card {
  position: relative;
  padding-top: 92px;
  margin-top: 70px;
}

.round-card-image {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 140px !important;
  height: 140px !important;
  max-width: 140px !important;
  min-width: 140px !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 50% !important;
  clip-path: circle(50%);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  background: var(--white);
}
/* =========================================================
   Startseite: Schwerpunkte
   ========================================================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card-image {
  display: block;
  width: 100%;
  max-width: none;
  height: 110px;
  object-fit: cover;
  object-position: center;
  margin: 16px 0 20px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

/* =========================================================
   Startseite: Wissen-Teaser
   ========================================================= */

.knowledge-teaser-section {
  padding: 70px 0;
  background: var(--green-soft);
}

.knowledge-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
}

.knowledge-teaser-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.knowledge-links {
  display: grid;
  gap: 16px;
}

.knowledge-links-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.knowledge-links a {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.knowledge-links a:hover {
  border-color: var(--green);
}

.knowledge-links strong {
  display: block;
  color: var(--green-dark);
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.knowledge-links span {
  display: block;
  color: var(--text);
}

.knowledge-card-image {
  display: block;
  width: 100%;
  max-width: none;
  height: 110px;
  object-fit: cover;
  object-position: center;
  margin: 12px 0 14px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

/* =========================================================
   Startseite: Warum wir
   ========================================================= */

.why-section h2 {
  max-width: 780px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.why-item {
  border-top: 4px solid var(--green);
  background: var(--white);
  padding: 22px 0 0;
}

.why-item h3 {
  margin-bottom: 8px;
}

/* =========================================================
   Kontaktstreifen
   ========================================================= */

.contact-strip {
  background: var(--green-dark);
  color: var(--white);
  padding: 44px 0;
}

.contact-strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.contact-strip h2 {
  margin-bottom: 6px;
}

.contact-strip p {
  margin: 0;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
}

.contact-links a {
  color: var(--white);
}

/* =========================================================
   Kontaktseite
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.contact-card h2 {
  color: var(--green-dark);
  margin-bottom: 18px;
}

.contact-card a {
  color: var(--green-dark);
  font-weight: 700;
}

.contact-card ul {
  padding-left: 20px;
}

.contact-title-section {
  padding: 42px 0 20px;
}

.kontakt-title-image {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.contact-note {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid rgba(234, 88, 12, 0.25);
}

.contact-note h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.contact-note p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Kurse
   ========================================================= */

.course-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.course-overview a {
  display: block;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.course-overview a:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.course-image {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 0 24px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.course-detail-section {
  padding: 70px 0;
  border-top: 1px solid var(--border);
}

.course-detail-section.alt {
  background: var(--green-soft);
}

.course-detail {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 42px;
  align-items: start;
}

.course-detail h2 {
  color: var(--green-dark);
  margin-bottom: 18px;
}

.course-detail h3 {
  margin-top: 26px;
  margin-bottom: 10px;
}

.course-detail ul {
  padding-left: 22px;
}

.course-facts {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.course-facts h3 {
  margin-top: 0;
}

.course-overview-image {
  width: 100%;
  max-width: 760px;
  margin: 28px 0 34px;
}

/* =========================================================
   Preise
   ========================================================= */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.price-card h2 {
  color: var(--green-dark);
  margin-bottom: 12px;
}

.price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  margin: 8px 0 18px;
}

.price-card ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

.price-card.highlighted {
  background: var(--green-dark);
  color: var(--white);
}

.price-card.highlighted h2 {
  color: var(--white);
}

/* =========================================================
   Wissen
   ========================================================= */

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
}

.knowledge-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.knowledge-card h2 {
  color: var(--green-dark);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

/* Info- und Warnboxen in Wissensartikeln */

.info-box,
.warning-box {
  border-radius: 18px;
  padding: 26px;
  margin: 34px 0;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.info-box {
  background: var(--green-soft);
}

.warning-box {
  background: #fff7f1;
  border-color: #f0c4a0;
}

.info-box h3,
.warning-box h3 {
  margin-top: 0;
}

.warning-box h3 {
  color: var(--orange);
}

.wissen-title-image {
  width: 100%;
  max-width: 760px;
  margin: 28px 0 38px;
}

/* =========================================================
   Impressum / Datenschutz / Artikeltexte
   ========================================================= */

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  color: var(--green-dark);
  margin-top: 0;
  margin-bottom: 22px;
}

.legal-content h3 {
  margin-top: 30px;
  margin-bottom: 10px;
}

.legal-content a {
  color: var(--green-dark);
  font-weight: 700;
}

.legal-content hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 46px 0;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: #111;
  color: var(--white);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--white);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 950px) {
  .feature-grid,
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .knowledge-teaser {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .price-grid,
  .knowledge-grid,
  .knowledge-links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 56px 0;
  }

  .course-overview {
    grid-template-columns: 1fr;
  }

  .course-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    gap: 12px;
    font-size: 0.95rem;
  }

  .hero {
    min-height: 460px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .contact-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 750px) {
  .intro-grid,
  .feature-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .intro-card {
    margin-top: 0;
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 800px) {
  .round-card-image {
    width: 130px !important;
    height: 130px !important;
    max-width: 130px !important;
    min-width: 130px !important;
    top: -65px;
    border-radius: 50% !important;
    clip-path: circle(50%);
    object-fit: cover;
  }

  .principle-card {
    padding-top: 84px;
    margin-top: 65px;
  }
}