/* ========================================
   ABOUT PAGE – HERO
   ======================================== */

.about-hero {
  padding: 90px 20px;

  background:
    linear-gradient(
      135deg,
      var(--color-background),
      var(--color-primary-soft)
    );

  text-align: center;
}

.about-hero-content {
  max-width: 850px;
  margin: 0 auto;

  opacity: 0;
  transform: translateY(20px);

  animation: fadeUp 0.8s ease forwards;
}

.about-hero h1 {
  margin-bottom: 22px;

  color: var(--color-dark);

  font-size: 2.4rem;
  line-height: 1.2;
}

.about-hero p {
  max-width: 700px;
  margin: 0 auto;

  color: var(--color-text-muted);

  font-size: 1.05rem;
  line-height: 1.7;
}


/* ========================================
   ALLGEMEIN
   ======================================== */

.about-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.about-introduction,
.about-target,
.about-school,
.about-qualification,
.about-cta {
  padding: 80px 20px;
}

.about-container > h2 {
  max-width: 850px;
  margin: 0 auto 45px;

  color: var(--color-dark);

  text-align: center;

  font-size: 2rem;
  line-height: 1.25;
}


/* ========================================
   EINLEITUNG
   ======================================== */

.about-introduction {
  background: var(--color-background);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;

  align-items: center;
}

.about-image {
  order: 1;
}

.about-text {
  order: 2;
}

.about-image img,
.about-school-image img {
  display: block;

  width: 100%;
  height: auto;

  border-radius: var(--radius);

  box-shadow: var(--shadow);

  object-fit: cover;
}

.about-introduction .about-image img {
  max-height: 520px;
}

.about-text h2 {
  margin-bottom: 25px;

  color: var(--color-dark);

  font-size: 2rem;
  line-height: 1.25;
}

.about-text p,
.about-school p {
  margin-bottom: 20px;

  color: #333333;

  line-height: 1.6;
}
.about-text p:last-child,
.about-school p:last-child {
  margin-bottom: 0;
}


/* ========================================
   BERATUNGSANSATZ
   ======================================== */

.about-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.about-card {
  padding: 30px;

  background: var(--color-background);

  border: 1px solid var(--color-border);
  border-radius: var(--radius);

  box-shadow: var(--shadow);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.about-card:hover {
  transform: translateY(-4px);

  box-shadow: 0 14px 30px rgba(42, 36, 33, 0.12);
}

.about-card h3 {
  margin-bottom: 15px;

  color: var(--color-dark);

  font-size: 1.2rem;
  line-height: 1.35;
}

.about-card p {
  margin: 0;

  color: var(--color-text-muted);

  line-height: 1.7;
}


/* ========================================
   ZIELGRUPPE
   ======================================== */

.about-target {
  background: var(--color-background);
}

.about-target .about-card {
  background: var(--color-surface);
}


/* ========================================
   SCHULE
   ======================================== */

.about-school {
  background: var(--color-surface);
}

.about-school-image {
  order: 1;
}

.about-school > .about-container > div:last-child {
  order: 2;
}

.about-school h2 {
  margin-bottom: 25px;

  color: var(--color-dark);

  font-size: 2rem;
  line-height: 1.3;
}

.about-school-image img {
  max-height: 450px;
  border-radius: 16px;
  object-fit: cover;
}

.about-inline-quote {
  margin: 30px 0 0;
  padding: 24px 28px;

  background: var(--color-primary-soft);
  border-left: 4px solid var(--color-primary);
  border-radius: 12px;

  color: var(--color-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.55;
}


/* ========================================
   QUALIFIKATIONEN
   ======================================== */

.about-qualification {
  background: var(--color-background);
}

.qualification-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 34px;
}

.qualification-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 8px;

  width: 2px;
  background: var(--color-primary);
  opacity: 0.45;
}

.qualification-item {
  position: relative;
  padding: 0 0 34px;
}

.qualification-item:last-child {
  padding-bottom: 0;
}

.qualification-marker {
  position: absolute;
  top: 7px;
  left: -34px;

  width: 18px;
  height: 18px;

  border: 4px solid var(--color-background);
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.qualification-content {
  padding: 26px 30px;

  background: var(--color-surface);

  border: 1px solid var(--color-border);
  border-radius: 12px;

  box-shadow: 0 6px 18px rgba(42, 36, 33, 0.06);
}

.qualification-content h3 {
  margin-bottom: 20px;

  color: var(--color-dark);

  font-size: 1.15rem;
  line-height: 1.4;
}

.qualification-content ul {
  margin: 0;
  padding-left: 20px;
}

.qualification-content li {
  margin-bottom: 12px;

  color: var(--color-text-muted);

  line-height: 1.6;
}

.qualification-content li:last-child {
  margin-bottom: 0;
}


/* ========================================
   CTA
   ======================================== */

.about-cta {
  background: var(--color-dark);

  text-align: center;
}

.about-cta h2 {
  max-width: 750px;
  margin: 0 auto 30px;

  color: var(--color-text-light);

  font-size: 2rem;
  line-height: 1.3;
}


/* ========================================
   ANIMATION
   ======================================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ========================================
   TABLET
   ======================================== */

@media (min-width: 700px) {
  .about-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ========================================
   DESKTOP
   ======================================== */

@media (min-width: 1024px) {
  .about-hero {
    padding: 120px 20px;
  }

  .about-hero h1 {
    font-size: 3.5rem;
  }

  .about-hero p {
    font-size: 1.15rem;
  }

  .about-introduction,
  .about-target,
  .about-school,
  .about-qualification,
  .about-cta {
    padding: 100px 20px;
  }

  .about-container > h2 {
    font-size: 2.8rem;
  }

  .about-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
  }

  .about-image,
  .about-school-image {
    order: initial;
  }

  .about-text,
  .about-school > .about-container > div:last-child {
    order: initial;
  }

  .about-text h2,
  .about-school h2 {
    font-size: 2.4rem;
  }

  .about-target .about-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-inline-quote {
    font-size: 1.55rem;
  }

  .about-cta h2 {
    font-size: 2.5rem;
  }
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 699px) {
  .about-hero h1 {
    font-size: 2.2rem;
  }

  .about-container > h2 {
    font-size: 2rem;
  }

  .about-card,
  .qualification-content {
    padding: 25px;
  }
}