/* Services-Rubrik (Vorlage: 20913_omanda_webiste_rubrik_services_la06_bb.pdf)
   Baut auf anwendungen.css (.oma-page, .oma-hero, .oma-intro, .oma-tile …) auf; hier nur, was neu ist:
   Dokument-Karten, Sprach-Reiter, Rezept-Filter, Anleitung (Accordion), Kontaktblock, Videos. */

.oma-page.oma-page--services { padding-bottom: 0; }

/* ---------- Breiter Inhaltsbereich (Raster) ---------- */
.oma-page .oms-wrap.e-con {
  width: 100%;
  max-width: 1188px;
  margin: 0 auto;
  padding: 0 24px;
}

.oma-page .oms-wrap--narrow.e-con { max-width: 864px; }

.oma-page .oms-section.e-con { margin-top: 72px; }
.oma-page .oms-section--first.e-con { margin-top: 0; }
.oma-page .oms-section--tight.e-con { margin-top: 48px; }

.oma-page .oms-head.e-con { width: 100%; max-width: 816px; margin: 0 auto 40px; }
.oma-page .oms-h3 .elementor-heading-title {
  margin: 0;
  color: var(--om-navy);
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
  text-align: center;
}

.oma-page .oms-h2 .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--om-navy);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  text-align: center;
}

.oma-page .oms-lead p {
  margin: 0 0 24px;
  color: var(--om-text);
  font-size: 22px;
  font-weight: 500;
  line-height: 33px;
  text-align: center;
}
.oma-page .oms-lead p:last-child { margin-bottom: 0; }

.oma-page .oma-intro.e-con { margin-bottom: 56px; }
.oma-page .oma-intro--tight.e-con { margin-bottom: 40px; }

/* ---------- Sprach-Reiter ---------- */
.oms-docs,
.oms-recipes,
.oms-videos { font-family: Signika, "Segoe UI", sans-serif; color: #000; }
.oms-docs *,
.oms-recipes *,
.oms-videos * { box-sizing: border-box; }

.oms-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 40px;
  padding: 4px;
  border-radius: 999px;
  background: var(--om-gray, #f1f3f4);
}

.oms-docs .oms-tab {
  min-width: 96px;
  height: 40px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--om-navy, #25539c);
  font: 500 17px/1 Signika, "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.oms-docs .oms-tab:hover,
.oms-docs .oms-tab:focus {
  background: rgba(110, 193, 227, .25);
  color: var(--om-navy, #25539c);
  outline: none;
}

.oms-docs .oms-tab.is-active,
.oms-docs .oms-tab.is-active:hover,
.oms-docs .oms-tab.is-active:focus {
  background: var(--om-navy, #25539c);
  color: #fff;
}

.oms-docs .oms-tab:focus-visible { outline: 2px solid var(--om-cyan, #6ec1e3); outline-offset: 2px; }

.oms-panel[hidden] { display: none; }

/* ---------- Raster + Karten ---------- */
.oms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
  width: 100%;
}

/* Wenige Dokumente (z. B. eine Karte): mittig statt linksbündig */
.oms-grid--few { display: flex; flex-wrap: wrap; justify-content: center; }
.oms-grid--few > .oms-card { flex: 0 1 calc((100% - 42px) / 3); }

.oms-card,
.oms-card:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 36px 18px 28px;
  background: var(--om-gray, #f1f3f4);
  color: var(--om-navy, #25539c);
  text-align: center;
  text-decoration: none;
}

.oms-card__thumb,
.oms-card__img { display: flex; align-items: center; justify-content: center; width: 100%; }

.oms-card--doc .oms-card__thumb { height: 300px; margin-bottom: 28px; }
.oms-card--doc .oms-card__thumb img {
  display: block;
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}

.oms-card__title {
  display: block;
  margin: 0;
  color: var(--om-navy, #25539c);
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
}

.oms-card__type {
  display: block;
  margin: 4px 0 0;
  color: var(--om-cyan, #6ec1e3);
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
}

.oms-card--doc .oms-card__title { min-height: 60px; display: flex; align-items: center; justify-content: center; }
.oms-card--doc .oms-card__type { margin-bottom: 24px; }

.oms-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 50px;
  margin-top: auto;
  border-radius: 999px;
  background: var(--om-cyan, #6ec1e3);
  color: #fff;
  transition: background .2s;
}

.oms-card:hover .oms-card__arrow,
.oms-card:focus-visible .oms-card__arrow { background: var(--om-navy, #25539c); }
.oms-card:focus-visible { outline: 2px solid var(--om-cyan, #6ec1e3); outline-offset: 2px; }

/* Rezept-Karte: Bild füllt die Kachel (wie die Kacheln der Übersichten) */
.oms-card--recipe { padding: 0 0 36px; }
.oms-card--recipe .oms-card__img { display: block; }
.oms-card--recipe .oms-card__img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.oms-card--recipe .oms-card__title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  margin: 32px 0 24px;
  padding: 0 24px;
}

.oms-card[hidden] { display: none; }

/* ---------- Rezept-Filter ---------- */
.oms-filters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 0 0 48px;
}

.oms-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  margin: 0;
  padding: 0;
  border: 0;
}

.oms-radio {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--om-navy, #25539c);
  font-size: 19px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
}

.oms-radio input {
  position: absolute;
  opacity: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  cursor: pointer;
}

.oms-radio__dot {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--om-navy, #25539c);
  border-radius: 50%;
  background: #fff;
  transition: background .15s, box-shadow .15s;
}

.oms-radio input:checked + .oms-radio__dot {
  background: var(--om-navy, #25539c);
  box-shadow: inset 0 0 0 4px #fff;
}

.oms-radio:hover .oms-radio__dot { border-color: var(--om-cyan-deep, #4ea9d1); }
.oms-radio input:focus-visible + .oms-radio__dot { outline: 2px solid var(--om-cyan, #6ec1e3); outline-offset: 3px; }

.oms-empty {
  margin: 32px 0 0;
  color: var(--om-navy, #25539c);
  font-size: 20px;
  text-align: center;
}
.oms-empty[hidden] { display: none; }

/* ---------- Anleitung (Accordion) ---------- */
.oma-page .oms-accordion { width: 100%; max-width: 816px; margin: 0 auto; font-family: Signika, "Segoe UI", sans-serif; }

.oms-accordion > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  color: var(--om-cyan, #6ec1e3);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.oms-accordion > summary::-webkit-details-marker { display: none; }
.oms-accordion > summary:hover { color: var(--om-navy, #25539c); }
.oms-accordion > summary:focus-visible { outline: 2px solid var(--om-cyan, #6ec1e3); outline-offset: 6px; }

.oms-accordion__icon { display: inline-flex; width: 28px; height: 28px; transition: transform .25s; }
.oms-accordion[open] > summary .oms-accordion__icon { transform: rotate(180deg); }

.oms-accordion__body { padding-top: 40px; }

.oms-step { margin: 0 0 56px; }
.oms-step:last-child { margin-bottom: 0; }

.oma-page .oms-step .oms-step__title {
  margin: 0 0 20px;
  color: var(--om-navy, #25539c);
  font-family: Signika, "Segoe UI", sans-serif;
  text-transform: none;
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
  text-align: center;
}

.oms-step p {
  margin: 0 0 24px;
  color: #000;
  font-size: 22px;
  font-weight: 500;
  line-height: 33px;
  text-align: left;
}
.oms-step p:last-child { margin-bottom: 0; }
.oms-step a { color: var(--om-cyan, #6ec1e3); text-decoration: none; }
.oms-step a:hover { color: var(--om-navy, #25539c); }

.oms-forms { margin: 0 0 24px; padding: 0; list-style: none; }
.oms-forms li { margin: 0 0 20px; font-size: 22px; font-weight: 500; line-height: 33px; }
.oms-forms li:last-child { margin-bottom: 0; }
.oms-forms__name { display: block; }
.oms-forms__extra { display: block; }
.oms-forms a { display: inline-block; }

.oms-step__card { margin-top: 40px; }
.oms-step__card .oms-docs { max-width: 366px; margin: 0 auto; }
.oms-step__card .oms-grid { display: block; }

/* ---------- Vivifrail-Karte ---------- */
.oms-single { width: 100%; max-width: 366px; margin: 0 auto; }
.oms-single .oms-card { width: 100%; }

/* ---------- Kontaktblock ---------- */
.oma-page .oms-contact.e-con { width: 100%; max-width: 816px; margin: 72px auto 0; padding: 0 24px; }

.oms-contact__list { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; width: fit-content; max-width: 100%; margin: 32px auto 0; padding: 0; list-style: none; }
.oms-contact__row { display: flex; align-items: center; gap: 16px; font-size: 22px; font-weight: 500; line-height: 30px; color: var(--om-navy, #25539c); }
.oms-contact__icon {
  display: inline-block;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background: var(--om-navy, #25539c);
  -webkit-mask: var(--oms-icon) center / contain no-repeat;
  mask: var(--oms-icon) center / contain no-repeat;
}
.oms-contact__icon--phone { --oms-icon: url("icons/omanda_icon_tel.svg"); }
.oms-contact__icon--mail { --oms-icon: url("icons/omanda_icon_mail.svg"); }
.oms-contact__row a { color: var(--om-cyan, #6ec1e3); text-decoration: none; }
.oms-contact__row a:hover { color: var(--om-navy, #25539c); }

.oma-page .oms-footer-img { width: 100%; margin-top: 72px; }
.oma-page .oms-footer-img .elementor-widget-container { width: 100%; }
.oma-page .oms-footer-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: cover;
}

/* ---------- Schulungsvideos ---------- */
.oms-videos__sec { margin: 0 auto 56px; max-width: 760px; }
.oma-page .oms-videos .oms-videos__h {
  margin: 0 0 24px;
  font-family: Signika, "Segoe UI", sans-serif;
  color: var(--om-navy, #25539c);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  text-align: center;
  text-transform: none;
}
.oms-videos__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.oms-video__frame { position: relative; aspect-ratio: 16 / 9; width: 100%; background: var(--om-gray, #f1f3f4); }
.oms-video__frame iframe,
.oms-video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.oms-video__frame--empty { display: flex; align-items: center; justify-content: center; color: var(--om-navy, #25539c); font-size: 22px; font-weight: 500; }
.oms-video__title { margin: 14px 0 0; color: var(--om-navy, #25539c); font-size: 22px; font-weight: 600; line-height: 30px; text-align: center; }
.oms-video__dur { font-weight: 400; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .oms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .oms-grid--few > .oms-card { flex-basis: calc((100% - 16px) / 2); }
}

@media (max-width: 720px) {
  .oma-page .oms-section.e-con { margin-top: 56px; }
  .oma-page .oms-h2 .elementor-heading-title,
  .oma-page .oms-videos .oms-videos__h,
  .oms-accordion > summary { font-size: 26px; line-height: 34px; }
  .oma-page .oms-lead p,
  .oms-step p,
  .oms-forms li { font-size: 18px; line-height: 28px; }
  .oma-page .oms-step .oms-step__title { font-size: 24px; line-height: 30px; }
  .oms-grid { grid-template-columns: 1fr; }
  .oms-grid--few > .oms-card { flex-basis: 100%; }
  .oms-card--doc .oms-card__thumb { height: 260px; }
  .oms-card--doc .oms-card__thumb img { max-height: 260px; }
  .oms-card__title { font-size: 21px; line-height: 27px; }
  .oms-filter { gap: 12px 24px; }
  .oms-radio { font-size: 17px; }
  .oms-tabs { margin-bottom: 28px; }
  .oms-docs .oms-tab { min-width: 0; padding: 0 16px; font-size: 16px; }
  .oms-contact__row { font-size: 18px; }
  .oma-page .oms-contact.e-con { margin-top: 56px; }
  .oma-page .oms-footer-img { margin-top: 56px; }
}
