/*  Zusätze für die Leistungsseiten (Firmenkurse, Einzelunterricht, …).
 *  Baut auf sprachkurse.css auf; alles unter .cl-leistung, damit die
 *  Sprachseiten unberührt bleiben.
 */

.cl-leistung .cl-abschnitt {
  max-width: 820px;
  margin: 0 0 44px;
}

.cl-leistung .cl-abschnitt h2,
.cl-leistung .cl-leistung-kurse,
.cl-leistung .cl-referenzen h2 {
  margin: 0 0 14px;
  font-family: Epilogue, sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.25em;
  color: var(--cl-text);
  text-transform: none;
}

.cl-leistung .cl-leistung-kurse { margin: 56px 0 24px; }

/* Vorteile als Haken-Liste */
.cl-leistung .cl-vorteile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  max-width: 900px;
  margin: 0 0 48px;
  padding: 26px 28px;
  border: 1px solid var(--cl-rahmen);
  border-radius: var(--cl-radius);
  background: var(--cl-flaeche);
  list-style: none;
}

.cl-leistung .cl-vorteile li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-size: 16px;
  line-height: 1.55em;
  color: var(--cl-text);
}

.cl-leistung .cl-vorteile svg {
  flex: none;
  margin-top: 3px;
  color: var(--cl-akzent);
}

/* Sprach-Überschrift über einer Kursgruppe ist ein Link zur Sprachseite */
.cl-leistung .cl-gruppentitel a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.cl-leistung .cl-gruppentitel a svg { color: var(--cl-akzent); transition: transform .2s ease; }
.cl-leistung .cl-gruppentitel a:hover svg { transform: translateX(3px); }

/* Referenzen */
.cl-leistung .cl-referenzen { margin: 0 0 20px; }

.cl-leistung .cl-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.cl-leistung .cl-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--cl-rahmen);
  border-radius: 14px;
  background: #fff;
}

.cl-leistung .cl-logos img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

.cl-leistung .cl-kontakt { margin-top: 56px; }

@media (max-width: 991px) {
  .cl-leistung .cl-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .cl-leistung .cl-vorteile { grid-template-columns: 1fr; padding: 22px 20px; }
  .cl-leistung .cl-abschnitt h2,
  .cl-leistung .cl-leistung-kurse,
  .cl-leistung .cl-referenzen h2 { font-size: 25px; }
  .cl-leistung .cl-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Lange Einzelwörter ("Prüfungsvorbereitung") in der großen Überschrift
   dürfen trennen – sonst ragt der Seitenkopf über den Rand. */
.details-course-banner .heading-4 {
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
.details-course-banner .info-details-course { min-width: 0; }

/* Häufige Fragen (Regionsseiten) */
.cl-leistung .cl-faq { max-width: 860px; margin: 56px 0 0; }
.cl-leistung .cl-faq h2,
.cl-leistung .cl-orte h2 {
  margin: 0 0 18px;
  font-family: Epilogue, sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.25em;
  color: var(--cl-text);
  text-transform: none;
}
.cl-leistung .cl-faq dl { margin: 0; }
.cl-leistung .cl-faq dl > div {
  padding: 20px 0;
  border-top: 1px solid var(--cl-rahmen);
}
.cl-leistung .cl-faq dl > div:last-child { border-bottom: 1px solid var(--cl-rahmen); }
.cl-leistung .cl-faq dt {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4em;
  color: var(--cl-text);
}
.cl-leistung .cl-faq dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.6em;
  color: var(--cl-text-leise);
}

/* Links zu den anderen Orten */
.cl-leistung .cl-orte { margin: 56px 0 0; }
.cl-leistung .cl-orte ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cl-leistung .cl-orte li { margin: 0; }
.cl-leistung .cl-orte a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--cl-rahmen-stark);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  color: var(--cl-text);
  text-decoration: none;
}
.cl-leistung .cl-orte a:hover { border-color: var(--cl-akzent); }
.cl-leistung .cl-orte svg { color: var(--cl-akzent); }

@media (max-width: 767px) {
  .cl-leistung .cl-faq h2,
  .cl-leistung .cl-orte h2 { font-size: 25px; }
}

/* ------------------------------------------------------------------
   Seitenkopf der Leistungs- und Regionsseiten
   Orientiert sich am Seitenkopf der Startseite (48 px, 20 px, gelbe Knöpfe).
   ------------------------------------------------------------------ */
.cl-lp-hero {
  position: relative;
  padding: 160px 0 88px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 219, 81, .35) 0, rgba(255, 219, 81, 0) 34%),
    linear-gradient(135deg, #fff9f4 0%, #f2fdfc 55%, #dffffd 100%);
  font-family: Epilogue, sans-serif;
  overflow: hidden;
}

.cl-lp-hero-innen {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.cl-lp-kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(41, 91, 88, .08);
  color: var(--dark-slate-grey, #295b58);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3em;
}

.cl-lp-titel {
  margin: 0 0 18px;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.15em;
  color: var(--primary-dark, #141414);
  overflow-wrap: break-word;
}

.cl-lp-lead {
  max-width: 34em;
  margin: 0 0 30px;
  font-size: 20px;
  line-height: 1.5em;
  color: var(--paragraph-gray, #535756);
}

.cl-lp-knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 30px; }

.cl-lp-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
}

.cl-lp-knopf--rand,
a.cl-lp-knopf--rand {
  padding: 16px 30px;
  border: 1px solid var(--primary-dark, #141414);
  border-radius: 10px;
  background: transparent;
  color: var(--primary-dark, #141414);
  font-family: Epilogue, sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .5px;
  line-height: 1em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease;
}
.cl-lp-knopf--rand:hover { background: rgba(20, 20, 20, .05); }

.cl-lp-vorteile {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cl-lp-vorteile li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark, #141414);
}
.cl-lp-vorteile svg { flex: none; color: var(--dark-slate-grey, #295b58); }

.cl-lp-hero-bild { position: relative; }
.cl-lp-hero-bild img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(20, 20, 20, .14);
}

.cl-lp-plakette {
  position: absolute;
  left: -22px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 20, 20, .14);
}
.cl-lp-plakette strong { font-size: 22px; font-weight: 800; line-height: 1.1em; color: var(--primary-dark, #141414); }
.cl-lp-plakette span { font-size: 14px; color: var(--paragraph-gray, #535756); }

/* Beratungs-Block in der Seitenmitte */
.cl-leistung .cl-lp-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 8px 0 56px;
  padding: 30px 34px;
  border-radius: var(--cl-radius);
  background: var(--primary, #ffdb51);
}
.cl-leistung .cl-lp-band h2 {
  margin: 0 0 6px;
  font-family: Epilogue, sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25em;
  color: var(--primary-dark, #141414);
  text-transform: none;
}
.cl-leistung .cl-lp-band p { margin: 0; font-size: 17px; line-height: 1.5em; color: var(--primary-dark, #141414); }
.cl-leistung .cl-lp-band-knoepfe { display: flex; flex: none; align-items: center; gap: 20px; }
.cl-leistung .cl-lp-band .primary-button { background: #fff; border-color: #fff; }
.cl-leistung .cl-lp-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-dark, #141414);
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .cl-lp-hero { padding: 128px 0 64px; }
  .cl-lp-hero-innen { grid-template-columns: 1fr; gap: 40px; }
  .cl-lp-hero-bild { max-width: 620px; }
  .cl-lp-plakette { left: 16px; }
  .cl-leistung .cl-lp-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
  .cl-lp-titel { font-size: 36px; hyphens: auto; -webkit-hyphens: auto; }
  .cl-lp-hero-bild img { aspect-ratio: 16 / 10; }
  .cl-lp-lead { font-size: 18px; }
  .cl-lp-knoepfe { flex-direction: column; }
  .cl-lp-knoepfe > * { width: 100%; }
  .cl-leistung .cl-lp-band { padding: 26px 22px; }
  .cl-leistung .cl-lp-band-knoepfe { flex-direction: column; align-items: flex-start; width: 100%; }
  .cl-leistung .cl-lp-band .primary-button { width: 100%; }
}

/* ==================================================================
   Seitenaufbau Leistungs- und Regionsseiten: abwechselnde Abschnitte
   ================================================================== */
.cl-lp { --cl-radius: 20px; }

.cl-lp-sek { position: relative; padding: 88px 0; }
.cl-lp-sek--weiss { background: #fff; }
.cl-lp-sek--hell { background: #f5fbfa; padding: 64px 0; }
.cl-lp-sek--kurse {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 219, 81, .22) 0, rgba(255, 219, 81, 0) 30%),
    linear-gradient(180deg, #e9fbf9 0%, #dffffd 100%);
}
.cl-lp-sek--warm { background: #fff9f4; }

.cl-lp-box { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

.cl-lp-zweispaltig {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* Einleitungstexte */
.cl-lp .cl-lp-text h2,
.cl-lp .cl-lp-sek-kopf h2,
.cl-lp .cl-lp-faq-kopf h2,
.cl-lp .cl-referenzen h2,
.cl-lp .cl-orte h2 {
  margin: 0 0 14px;
  font-family: Epilogue, sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2em;
  color: var(--cl-text);
  text-transform: none;
}
.cl-lp .cl-lp-text h2 + p { margin-top: 0; }
.cl-lp .cl-lp-text p { margin: 0 0 16px; font-size: 18px; line-height: 1.65em; color: var(--cl-text-leise); }
.cl-lp .cl-lp-text p + h2 { margin-top: 40px; }

/* Kasten "Auf einen Blick" */
.cl-lp .cl-lp-blick {
  position: sticky;
  top: 24px;
  padding: 30px;
  border: 1px solid var(--cl-rahmen);
  border-radius: var(--cl-radius);
  background: linear-gradient(160deg, #f5fbfa 0%, #fff 60%);
  box-shadow: 0 18px 44px rgba(20, 20, 20, .07);
}
.cl-lp .cl-lp-blick-titel { margin: 0 0 18px; font-size: 22px; font-weight: 800; color: var(--cl-text); }
.cl-lp .cl-lp-blick-liste { display: grid; gap: 10px; margin: 0 0 22px; padding: 0 0 22px; border-bottom: 1px solid var(--cl-rahmen); }
.cl-lp .cl-lp-blick-liste li { display: flex; gap: 10px; font-size: 16px; line-height: 1.5em; color: var(--cl-text); }
.cl-lp .cl-lp-blick-liste svg { flex: none; margin-top: 3px; color: var(--cl-akzent); }
.cl-lp .cl-lp-blick-fakten { display: grid; gap: 14px; margin: 0 0 24px; }
.cl-lp .cl-lp-blick-fakten dt { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cl-akzent); }
.cl-lp .cl-lp-blick-fakten dd { margin: 0; font-size: 16px; line-height: 1.45em; color: var(--cl-text); }
.cl-lp .cl-lp-blick-fakten a { color: inherit; font-weight: 700; text-decoration: none; }
.cl-lp .cl-lp-blick-knopf { display: block; width: 100%; text-align: center; }

.cl-lp .cl-lp-band { margin: 64px 0 0; }

/* Kursbereich: kompakte Karten im Raster */
.cl-lp .cl-lp-sek-kopf { max-width: 720px; margin: 0 0 36px; }
.cl-lp .cl-lp-sek-kopf p { margin: 0; font-size: 18px; line-height: 1.6em; color: var(--cl-text-leise); }

.cl-lp .cl-lp-raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cl-lp .cl-lp-kurs {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(41, 91, 88, .12);
  border-radius: var(--cl-radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 20, 20, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cl-lp .cl-lp-kurs:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 20, 20, .1); }

.cl-lp .cl-lp-kurs-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.cl-lp .cl-lp-sprache {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: var(--cl-gelb);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--cl-text);
  text-decoration: none;
}
.cl-lp .cl-lp-stufe,
.cl-lp .cl-lp-format {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.cl-lp .cl-lp-stufe { background: var(--cl-akzent); color: #fff; }
.cl-lp .cl-lp-format { background: #eef5f4; color: var(--cl-akzent); }

.cl-lp .cl-lp-kurs h3 {
  margin: 0 0 16px;
  font-family: Epilogue, sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3em;
  color: var(--cl-text);
  text-transform: none;
}

.cl-lp .cl-lp-fakten { display: grid; gap: 10px; margin: 0 0 16px; }
.cl-lp .cl-lp-fakten > div { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.cl-lp .cl-lp-fakten dt { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cl-text-leise); }
.cl-lp .cl-lp-fakten dd { margin: 0; font-size: 15px; line-height: 1.45em; color: var(--cl-text); }

.cl-lp .cl-lp-status {
  align-self: flex-start;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: #e6f4ea;
  color: #1d6b39;
}
.cl-lp .cl-lp-status--knapp { background: #fff1e0; color: #9a4b00; }
.cl-lp .cl-lp-status--anfrage { background: #eef5f4; color: var(--cl-akzent); }

.cl-lp .cl-lp-kurs-fuss {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--cl-rahmen);
}
.cl-lp .cl-lp-kurs-cta {
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--cl-gelb);
  font-size: 15px;
  font-weight: 700;
  color: var(--cl-text);
  text-decoration: none;
}
.cl-lp .cl-lp-kurs-cta:hover { background: #ffd126; }
.cl-lp .cl-lp-kurs-mehr { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--cl-akzent); text-decoration: none; }

.cl-lp .cl-lp-alle { margin: 40px 0 0; text-align: center; }

/* Fragen zum Aufklappen */
.cl-lp .cl-lp-faq-kopf p { margin: 0 0 24px; font-size: 18px; line-height: 1.6em; color: var(--cl-text-leise); }
.cl-lp .cl-lp-frage { border-bottom: 1px solid var(--cl-rahmen); }
.cl-lp .cl-lp-frage:first-child { border-top: 1px solid var(--cl-rahmen); }
.cl-lp .cl-lp-frage summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4em;
  color: var(--cl-text);
  cursor: pointer;
  list-style: none;
}
.cl-lp .cl-lp-frage summary::-webkit-details-marker { display: none; }
.cl-lp .cl-lp-frage summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cl-gelb);
  font-size: 22px;
  font-weight: 500;
  transition: transform .2s ease;
}
.cl-lp .cl-lp-frage[open] summary::after { transform: rotate(45deg); }
.cl-lp .cl-lp-frage > div { padding: 0 48px 22px 0; font-size: 17px; line-height: 1.65em; color: var(--cl-text-leise); }

/* Orte und Kontakt im warmen Abschnitt */
.cl-lp .cl-orte { margin: 0 0 8px; }
.cl-lp .cl-kontakt { margin-top: 56px; }

@media (max-width: 991px) {
  .cl-lp-sek { padding: 64px 0; }
  .cl-lp-zweispaltig { grid-template-columns: 1fr; gap: 36px; }
  .cl-lp .cl-lp-blick { position: static; }
  .cl-lp .cl-lp-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .cl-lp-sek { padding: 52px 0; }
  .cl-lp .cl-lp-text h2,
  .cl-lp .cl-lp-sek-kopf h2,
  .cl-lp .cl-lp-faq-kopf h2,
  .cl-lp .cl-referenzen h2,
  .cl-lp .cl-orte h2 { font-size: 27px; }
  .cl-lp .cl-lp-raster { grid-template-columns: 1fr; }
  .cl-lp .cl-lp-frage summary { font-size: 17px; }
  .cl-lp .cl-lp-frage > div { padding-right: 0; }
}
