/* Seite 16 – Dipl. Fachtrainer:in für Erwachsenenbildung mit Fachschwerpunkt Gesundheit */

body.page16 .page16-nav,
body.page16 .page16-quote,
body.page16 .page16-cta-row,
body.page16 .page16-path-card,
body.page16 .page16-card-grid,
body.page16 .page16-info-grid,
body.page16 .page16-table-wrap,
body.page16 .page16-download-box,
body.page16 .page16-accordion-group,
body.page16 .page16-faq {
  margin-bottom: 24px;
}

/* Grundrhythmus */
body.page16 .item-page h1 {
  margin-bottom: 28px;
}

body.page16 .item-page h2 {
  margin: 40px 0 14px;
}

body.page16 .item-page h2:first-of-type {
  margin-top: 0;
}

/* Navigation */
body.page16 .page16-nav {
  margin: 8px 0 26px;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}

body.page16 .page16-nav a {
  color: #d60525;
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
}

body.page16 .page16-nav a:hover {
  text-decoration: none;
}

body.page16 .page16-nav span {
  color: #d60525;
  padding: 0 3px;
}

/* Zitat */
body.page16 .page16-quote {
  text-align: center;
  margin: 18px 0 34px;
}

body.page16 .page16-quote span {
  color: #8f8251;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
}

/* Buttons */
body.page16 .page16-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  margin-right: 10px;
  margin-bottom: 10px;
  transition: all 180ms ease;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

body.page16 .page16-btn-primary,
body.page16 .page16-btn-primary:visited {
  background: #d60525;
  color: #ffffff !important;
}

body.page16 .page16-btn-primary:hover {
  text-decoration: none !important;
  color: #ffffff !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  transform: translateY(-1px);
}

body.page16 .page16-btn-secondary,
body.page16 .page16-btn-secondary:visited {
  background: #ffffff;
  color: #2e2e2e !important;
  border: 1px solid #efb5a6;
}

body.page16 .page16-btn-secondary:hover {
  text-decoration: none !important;
  background: #fff4f1;
  color: #2e2e2e !important;
}

/* Weg zum Abschluss */
body.page16 .page16-path-card {
  background: #fff4f1;
  border: 1px solid #eed8d1;
  border-radius: 16px;
  padding: 20px 18px 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  margin-top: 8px;
  margin-bottom: 42px;
}

body.page16 .page16-path {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1.2fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

body.page16 .page16-path-box {
  background: #fff;
  border: 1px solid #eed8d1;
  border-radius: 14px;
  padding: 16px 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

body.page16 .page16-path-result {
  background: linear-gradient(135deg,#fff7f5 0%,#fff 100%);
  border-color: #efb8aa;
}

body.page16 .page16-path-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d60525;
  font-size: 34px;
  font-weight: 700;
}

body.page16 .page16-tag {
  display: inline-block;
  background: #ededed;
  color: #555;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 8px;
}

body.page16 .page16-tag-red {
  background: #d60525;
  color: #fff;
}

/* Karten */
body.page16 .page16-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 28px;
  align-items: stretch;
}

body.page16 .page16-card {
  background: #fff;
  border: 1px solid #eed8d1;
  border-radius: 14px;
  padding: 18px 18px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: all 180ms ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

body.page16 .page16-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(251,183,165,.12), rgba(251,183,165,0));
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}

body.page16 .page16-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
}

body.page16 .page16-card:hover::before {
  opacity: 1;
}

body.page16 .page16-card h3 {
  color: #d60525;
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}

body.page16 .page16-card p {
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}

body.page16 .page16-card small {
  display: block;
  color: #666;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

body.page16 .page16-card .page16-btn,
body.page16 .page16-card a.page16-btn,
body.page16 .page16-card .btn {
  margin-top: auto;
  align-self: flex-start;
  position: relative;
  z-index: 1;
}

/* Infoboxen */
body.page16 .page16-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 26px;
}

body.page16 .page16-info-box {
  background: #fff;
  border: 1px solid #eed8d1;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

body.page16 .page16-info-box h3 {
  color: #d60525;
  margin-top: 0;
}

body.page16 .page16-info-grid + p {
  margin-top: 22px;
}

/* Tabellen / Download */
body.page16 .page16-table-wrap {
  margin-top: 18px;
}

body.page16 .page16-table {
  width: 100%;
  border-collapse: collapse;
}

body.page16 .page16-table td {
  border: 1px solid #ddd;
  padding: 10px;
  vertical-align: top;
}

body.page16 .page16-download-box {
  background: linear-gradient(135deg,#fff8f6 0%,#fff 100%);
  border: 1px solid #eed8d1;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  margin-top: 18px;
}

body.page16 .page16-download-box a {
  display: inline-block;
  margin-top: 8px;
  color: #d60525;
  font-weight: 700;
}

/* Akkordeons / FAQ */
body.page16 .page16-accordion-group,
body.page16 .page16-faq {
  display: grid;
  gap: 12px;
}

body.page16 .page16-accordion-group {
  margin-top: 28px;
}

body.page16 .page16-faq {
  margin-top: 18px;
}

body.page16 .page16-acc {
  border: 1px solid #eed8d1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  overflow: hidden;
}

body.page16 .page16-acc[open] {
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  border-color: #efb8aa;
}

body.page16 .page16-acc > summary,
body.page16 .page16-faq details > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease;
}

body.page16 .page16-acc > summary::-webkit-details-marker,
body.page16 .page16-faq details > summary::-webkit-details-marker {
  display: none;
}

body.page16 .page16-acc > summary::marker,
body.page16 .page16-faq details > summary::marker {
  display: none;
  content: "";
}

/* Runde Kreise mit Pfeil */
body.page16 .page16-acc > summary::after,
body.page16 .page16-faq details > summary::after {
  content: "›";
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #efb5a6;
  background: #ffffff;
  color: #d60525;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.page16 .page16-acc > summary:hover::after,
body.page16 .page16-faq details > summary:hover::after {
  background: #fff4f1;
  border-color: #fbb7a5;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

body.page16 .page16-acc[open] > summary::after,
body.page16 .page16-faq details[open] > summary::after {
  background: #fff4f1;
  border-color: #fbb7a5;
}

body.page16 .page16-acc[open] > summary::after {
  transform: rotate(90deg);
}

body.page16 .page16-faq details[open] > summary::after {
  transform: translateY(-50%) rotate(90deg);
}

body.page16 .page16-acc[open] > summary,
body.page16 .page16-faq details[open] > summary {
  background: rgba(251, 183, 165, 0.06);
}

body.page16 .page16-acc-title strong {
  display: block;
  color: #d60525;
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 4px;
}

body.page16 .page16-acc-title small {
  display: block;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

/* Preis-Karten Desktop */
body.page16 .page16-accordion-group .page16-acc > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 16px;
  align-items: start;
  padding: 14px 18px 12px 18px;
}

body.page16 .page16-accordion-group .page16-acc-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: right;
  min-height: auto;
  padding-bottom: 0;
}

body.page16 .page16-accordion-group .page16-acc-price small {
  display: block;
  color: #666;
  font-size: 11px;
  line-height: 1.05;
  margin-bottom: 1px;
}

body.page16 .page16-accordion-group .page16-acc-price strong {
  display: block;
  color: #d60525;
  font-size: 18px;
  line-height: 1.08;
  margin: 0;
}

body.page16 .page16-accordion-group .page16-acc-price em {
  display: block;
  color: #666;
  font-style: normal;
  font-size: 11px;
  line-height: 1.2;
  margin-top: 10px;
  padding-right: 44px;
  white-space: nowrap;
  text-align: right;
}

body.page16 .page16-accordion-group .page16-acc > summary::after {
  right: 16px;
  bottom: 10px;
}

body.page16 .page16-accordion-group .page16-acc-panel {
  padding: 12px 18px 16px;
  border-top: 1px solid #f3e6e1;
}

/* FAQ Desktop */
body.page16 .page16-faq details > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 70px 14px 18px;
  min-height: 0;
}

body.page16 .page16-faq .page16-acc-title strong {
  margin-bottom: 0;
  line-height: 1.3;
}

body.page16 .page16-faq .page16-acc-price {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: auto;
  text-align: right;
}

body.page16 .page16-faq .page16-acc-price small,
body.page16 .page16-faq .page16-acc-price strong {
  display: none;
}

body.page16 .page16-faq .page16-acc-price em {
  display: block;
  color: #666;
  font-style: normal;
  font-size: 12px;
  line-height: 1.2;
  margin-top: 0;
  padding-right: 44px;
  white-space: nowrap;
  text-align: right;
}

body.page16 .page16-faq details > summary::after {
  top: 50%;
  right: 18px;
  bottom: auto;
  transform: translateY(-50%);
}

body.page16 .page16-faq .page16-acc-panel {
  padding: 12px 18px 16px;
  border-top: 1px solid #f3e6e1;
}

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

body.page16 .page16-price-box {
  border: 1px solid #eed8d1;
  border-radius: 14px;
  background: linear-gradient(135deg,#fff 0%,#fff8f6 100%);
  padding: 16px;
}

body.page16 .page16-price-box h3 {
  margin: 0 0 8px;
  color: #d60525;
  font-size: 18px;
  line-height: 1.25;
}

body.page16 .page16-price-main {
  color: #d60525;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 6px;
}

body.page16 .page16-price-sub {
  color: #666;
  font-size: 12px;
  margin-bottom: 10px;
}

body.page16 .page16-acc-btns {
  margin-top: 24px;
}

/* Kursiv-Hinweise */
body.page16 .page16-note-italic {
  font-style: italic;
  color: #666;
  margin: 6px 0 10px 0 !important;
}

body.page16 .page16-info-grid + p[style*="font-style: italic"],
body.page16 .page16-table-wrap + p[style*="font-style: italic"],
body.page16 .page16-accordion-group + p[style*="font-style: italic"] {
  margin: 6px 0 10px 0 !important;
  color: #666 !important;
}

/* Mobile */
@media (max-width: 900px) {
  body.page16 .page16-path {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.page16 .page16-path-symbol {
    min-height: 28px;
  }

  body.page16 .page16-card-grid,
  body.page16 .page16-info-grid,
  body.page16 .page16-price-grid {
    grid-template-columns: 1fr;
  }

  body.page16 .item-page h2 {
    margin: 34px 0 12px;
  }

  body.page16 .page16-card-grid {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  /* Ersten Anmeldeapfel oben auf Mobile ausblenden */
  body.page16 .page16-top-apple {
    display: none !important;
  }

  body.page16 .page16-nav {
    font-size: 12px;
    line-height: 1.8;
  }

  body.page16 .page16-btn,
  body.page16 .page16-btn:visited {
    width: 100%;
    margin-right: 0;
  }

  body.page16 .page16-quote {
    margin: 16px 0 28px;
  }

  body.page16 .page16-quote span {
    font-size: 16px;
    line-height: 1.5;
  }

  body.page16 .page16-path-card {
    margin-bottom: 34px;
  }

  body.page16 .page16-card-grid,
  body.page16 .page16-info-grid,
  body.page16 .page16-accordion-group,
  body.page16 .page16-faq {
    margin-top: 22px;
  }

  /* Preis-Karten mobil */
  body.page16 .page16-accordion-group .page16-acc > summary {
    display: block;
    padding: 16px 16px 16px 16px;
  }

  body.page16 .page16-accordion-group .page16-acc-title strong {
    margin-bottom: 6px;
  }

  body.page16 .page16-accordion-group .page16-acc-title small {
    margin-bottom: 0;
  }

  body.page16 .page16-accordion-group .page16-acc-price {
    display: block;
    text-align: left;
    min-height: auto;
    margin-top: 10px;
  }

  body.page16 .page16-accordion-group .page16-acc-price small {
    font-size: 11px;
    margin-bottom: 2px;
    line-height: 1.05;
  }

  body.page16 .page16-accordion-group .page16-acc-price strong {
    font-size: 24px;
    line-height: 1.05;
    margin: 0;
  }

  body.page16 .page16-accordion-group .page16-acc-price em {
    font-size: 12px;
    margin-top: 10px;
    padding-right: 42px;
    white-space: normal;
    text-align: left;
    line-height: 1.2;
  }

  body.page16 .page16-accordion-group .page16-acc > summary::after {
    width: 30px;
    height: 30px;
    right: 16px;
    bottom: 16px;
    font-size: 18px;
  }

  body.page16 .page16-accordion-group .page16-acc-panel {
    padding: 14px 16px 16px;
  }

  /* FAQ mobil */
  body.page16 .page16-faq details > summary {
    display: block;
    padding: 14px 52px 14px 16px;
  }

  body.page16 .page16-faq .page16-acc-price {
    display: block;
    margin-top: 8px;
    text-align: left;
  }

  body.page16 .page16-faq .page16-acc-price small,
  body.page16 .page16-faq .page16-acc-price strong {
    display: none;
  }

  body.page16 .page16-faq .page16-acc-price em {
    margin-top: 0;
    padding-right: 0;
    white-space: normal;
    text-align: left;
  }

  body.page16 .page16-faq details > summary::after {
    width: 30px;
    height: 30px;
    top: 50%;
    right: 16px;
    bottom: auto;
    transform: translateY(-50%);
    font-size: 18px;
  }

  body.page16 .page16-faq details[open] > summary::after {
    transform: translateY(-50%) rotate(90deg);
  }
}
/* ===== Desktop-Feinschliff: Preiscards + FAQ ===== */
@media (min-width: 641px) {

  /* ---------- PREISCARDS ---------- */

  body.page16 .page16-accordion-group .page16-acc > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 18px;
    align-items: start;
    padding: 16px 18px 18px 18px;
    min-height: 112px; /* etwas höher, damit rechts mehr Luft entsteht */
  }

  body.page16 .page16-accordion-group .page16-acc-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: right;
    min-height: 78px;
    padding-top: 2px;
  }

  body.page16 .page16-accordion-group .page16-acc-price small {
    display: block;
    color: #666;
    font-size: 11px;
    line-height: 1.05;
    margin-bottom: 2px;
  }

  body.page16 .page16-accordion-group .page16-acc-price strong {
    display: block;
    color: #d60525;
    font-size: 18px;
    line-height: 1.08;
    margin: 0;
  }

  body.page16 .page16-accordion-group .page16-acc-price em {
    display: block;
    color: #666;
    font-style: normal;
    font-size: 11px;
    line-height: 1.2;
    margin-top: auto;      /* bringt "Zahlungswege anzeigen" weiter nach unten */
    padding-right: 46px;   /* genug Abstand zum Kreis, aber näher dran */
    white-space: nowrap;
    text-align: right;
  }

  body.page16 .page16-accordion-group .page16-acc > summary::after {
    right: 16px;
    bottom: 16px;          /* Kreis weiter unten */
  }

  body.page16 .page16-accordion-group .page16-acc-panel {
    padding: 14px 18px 18px;
  }


  /* ---------- FAQ / HÄUFIGE FRAGEN ---------- */

  body.page16 .page16-faq details > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 10px;
    align-items: center;
    padding: 12px 66px 12px 18px; /* kompakter + rechts näher zum Kreis */
    min-height: 54px;
  }

  body.page16 .page16-faq .page16-acc-title strong {
    margin-bottom: 0;
    line-height: 1.28;
  }

  body.page16 .page16-faq .page16-acc-price {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: auto;
    text-align: right;
  }

  body.page16 .page16-faq .page16-acc-price small,
  body.page16 .page16-faq .page16-acc-price strong {
    display: none;
  }

  body.page16 .page16-faq .page16-acc-price em {
    display: block;
    color: #666;
    font-style: normal;
    font-size: 12px;
    line-height: 1.2;
    margin-top: 0;
    padding-right: 0;      /* näher nach rechts */
    white-space: nowrap;
    text-align: right;
  }

  body.page16 .page16-faq details > summary::after {
    top: 50%;
    right: 16px;
    bottom: auto;
    transform: translateY(-50%);
  }

  body.page16 .page16-faq details[open] > summary::after {
    transform: translateY(-50%) rotate(90deg);
  }

  body.page16 .page16-faq .page16-acc-panel {
    padding: 12px 18px 16px;
  }
}
/* PC: Buttons in den Fachmodul-Cards auf eine Höhe bringen */
@media (min-width: 641px) {
  body.page16 .page16-card {
    display: flex;
    flex-direction: column;
  }

  body.page16 .page16-card > p:last-child {
    margin-top: auto;
    margin-bottom: 0;
  }

  body.page16 .page16-card > p:last-child .page16-btn {
    margin-bottom: 0;
  }
}