/* Extracted from preserved original Elementor-Free home design, 2026-11-07. */

/* =====================================================
   STARTSEITEN-HERO – OSTEOPATHIE-SCHULE HAMBURG
   Bereinigte Gesamtversion
   ===================================================== */

.aoh-hero-card,
.aoh-hero-benefits {
  box-sizing: border-box;
  font-family: inherit;
}

/* ---------- LINKE HERO-KARTE ---------- */

.aoh-hero-card {
  width: 100%;
  max-width: 730px;
  padding: 28px 30px 26px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(15, 42, 86, 0.14);
  color: #17366f;
}

.aoh-hero-title {
  margin: 0;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.aoh-hero-title span {
  display: block;
  margin-top: 5px;
  color: #b9df4e;
}

.aoh-hero-title-main {
  display: block;
  color: #17366f;
  font-size: clamp(38px, 2.8vw, 52px);
  white-space: nowrap;
}

.aoh-hero-title-location {
  display: block;
  margin-top: 6px;
  color: #b9df4e;
  font-size: clamp(38px, 2.8vw, 52px);
}

.aoh-hero-subtitle {
  margin: 20px 0 11px;
  color: #17366f;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.aoh-hero-intro {
  margin: 0;
  max-width: 570px;
  color: #39465a;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.52;
}

/* ---------- BUTTONS ---------- */

.aoh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.aoh-hero-button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  min-height: 58px;
  padding: 10px 16px;
  border-radius: 6px;
  box-sizing: border-box;
  text-decoration: none !important;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.aoh-hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(15, 42, 86, 0.16);
  filter: brightness(1.015);
}

.aoh-hero-button-primary {
  flex: 1 1 295px;
  max-width: 330px;
  background: #c5eb58;
  color: #12346b !important;
}

.aoh-hero-button-secondary {
  flex: 1 1 250px;
  max-width: 285px;
  background: #173b78;
  color: #ffffff !important;
}

.aoh-hero-button-icon {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
}

.aoh-hero-button-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.18;
}

.aoh-hero-button-title {
  color: inherit;
  font-size: 15px;
  font-weight: 700;
}

.aoh-hero-button-text {
  margin-top: 3px;
  color: inherit;
  font-size: 11.5px;
  font-weight: 500;
}

/* ---------- TELEFONFELD ---------- */

.aoh-hero-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 270px;
  margin-top: 10px;
  padding: 8px 14px;
  border: 1px solid #173b78;
  border-radius: 6px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.97);
  color: #173b78 !important;
  text-decoration: none !important;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.aoh-hero-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(15, 42, 86, 0.12);
}

.aoh-hero-phone-icon {
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
}

.aoh-hero-phone-content {
  display: flex;
  flex-direction: column;
  line-height: 1.16;
}

.aoh-hero-phone-number {
  font-size: 15px;
  font-weight: 700;
}

.aoh-hero-phone-text {
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 500;
}

/* ---------- RECHTE VORTEILSBOX ---------- */

.aoh-hero-benefits {
  width: 100%;
  max-width: 520px;
  padding: 25px 28px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 10px 32px rgba(15, 42, 86, 0.12);
  backdrop-filter: blur(2px);
}

.aoh-hero-benefit {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.aoh-hero-benefit + .aoh-hero-benefit {
  margin-top: 16px;
}

.aoh-hero-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  margin-top: 1px;
  border-radius: 50%;
  background: #173b78;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.aoh-hero-benefit-title {
  display: block;
  color: #17366f;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
}

.aoh-hero-benefit-text {
  display: block;
  margin-top: 3px;
  color: #17366f;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

/* ---------- HERO-LAYOUT ---------- */

.aoh-hero-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.aoh-hero-layout > .e-con {
  min-width: 0;
}

.aoh-hero-layout > .e-con:first-child {
  width: 56%;
}

.aoh-hero-layout > .e-con:last-child {
  width: 40%;
}

/* ---------- HERO: GROSSER DESKTOP ---------- */

@media (min-width: 1441px) {
  .aoh-hero-card {
    max-width: 700px;
  }

  .aoh-hero-title-main,
  .aoh-hero-title-location {
    font-size: 52px;
  }

  .aoh-hero-benefits {
    max-width: 520px;
  }
}

/* ---------- HERO: LAPTOP / KLEINER DESKTOP ---------- */

@media (max-width: 1440px) {
  .aoh-hero-card {
    max-width: 650px;
    padding: 26px 28px 24px;
  }

  .aoh-hero-title-main,
  .aoh-hero-title-location {
    font-size: clamp(38px, 3.3vw, 48px);
  }

  .aoh-hero-benefits {
    max-width: 500px;
    padding: 23px 24px;
  }

  .aoh-hero-benefit + .aoh-hero-benefit {
    margin-top: 14px;
  }
}

@media (max-width: 1200px) {
  .aoh-hero-layout {
    gap: 24px;
  }

  .aoh-hero-layout > .e-con:first-child {
    width: 57%;
  }

  .aoh-hero-layout > .e-con:last-child {
    width: 41%;
  }

  .aoh-hero-card {
    max-width: 590px;
  }

  .aoh-hero-title-main {
    white-space: normal;
  }

  .aoh-hero-title-main,
  .aoh-hero-title-location {
    font-size: clamp(36px, 3.8vw, 44px);
  }

  .aoh-hero-subtitle {
    font-size: 18px;
  }

  .aoh-hero-intro {
    font-size: 15px;
  }

  .aoh-hero-button-primary,
  .aoh-hero-button-secondary {
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
  }
}

/* ---------- HERO: TABLET ---------- */

@media (max-width: 1024px) {
  .aoh-hero-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .aoh-hero-layout > .e-con:first-child,
  .aoh-hero-layout > .e-con:last-child {
    width: 100%;
  }

  .aoh-hero-card,
  .aoh-hero-benefits {
    width: 100%;
    max-width: none;
  }

  .aoh-hero-card {
    padding: 27px;
  }

  .aoh-hero-title-main,
  .aoh-hero-title-location {
    font-size: clamp(40px, 6vw, 52px);
  }

  .aoh-hero-title-main {
    white-space: nowrap;
  }

  .aoh-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
  }

  .aoh-hero-button-primary,
  .aoh-hero-button-secondary {
    width: 100%;
    max-width: none;
  }

  .aoh-hero-phone {
    width: 270px;
  }

  .aoh-hero-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 26px;
    padding: 23px;
  }

  .aoh-hero-benefit + .aoh-hero-benefit {
    margin-top: 0;
  }
}

@media (max-width: 850px) {
  .aoh-hero-title-main {
    white-space: normal;
  }

  .aoh-hero-benefits {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ---------- HERO: MOBIL ---------- */

@media (max-width: 767px) {
  .aoh-hero-layout {
    gap: 14px;
  }

  .aoh-hero-card {
    padding: 22px 18px 20px;
    border-radius: 7px;
  }

  .aoh-hero-title-main,
  .aoh-hero-title-location {
    font-size: clamp(33px, 10vw, 42px);
    line-height: 1;
  }

  .aoh-hero-title-main {
    white-space: normal;
  }

  .aoh-hero-title-location {
    margin-top: 5px;
  }

  .aoh-hero-subtitle {
    margin: 17px 0 10px;
    font-size: 17px;
    line-height: 1.3;
  }

  .aoh-hero-intro {
    font-size: 15px;
    line-height: 1.48;
  }

  .aoh-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 18px;
  }

  .aoh-hero-button {
    width: 100%;
    min-height: 56px;
    padding: 10px 14px;
  }

  .aoh-hero-button-title {
    font-size: 14px;
  }

  .aoh-hero-button-text {
    font-size: 11px;
  }

  .aoh-hero-phone {
    width: 100%;
    min-height: 52px;
  }

  .aoh-hero-benefits {
    display: block;
    padding: 20px 17px;
    border-radius: 7px;
  }

  .aoh-hero-benefit + .aoh-hero-benefit {
    margin-top: 14px;
  }

  .aoh-hero-benefit-title {
    font-size: 14px;
  }

  .aoh-hero-benefit-text {
    font-size: 11.5px;
  }
}

@media (max-width: 390px) {
  .aoh-hero-title-main,
  .aoh-hero-title-location {
    font-size: 31px;
  }

  .aoh-hero-card {
    padding-left: 15px;
    padding-right: 15px;
  }

  .aoh-hero-button {
    gap: 9px;
  }
}

/* =========================================================
   AOH – USP + MEHR ZUR AUSBILDUNG
   Exakt für die vorhandene Elementor-Struktur
   ========================================================= */

/* ---------- GEMEINSAME SICHERUNG ---------- */

.elementor .aoh-usp-grid,
.elementor .aoh-training-grid,
.elementor .aoh-usp-card,
.elementor .aoh-training-card {
  box-sizing: border-box;
  min-width: 0 !important;
}

/* =========================================================
   USP – STANDARDANSICHT
   Keine Laptop-/Tablet-Sonderoptimierung
   ========================================================= */

.elementor .aoh-usp-grid {
  width: 100% !important;
  max-width: none !important;
}

.elementor .aoh-usp-grid > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.elementor .aoh-usp-grid > .e-con-inner > .aoh-usp-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100% !important;
  flex: none !important;
}

.elementor .aoh-usp-card > .e-con,
.elementor .aoh-usp-card > .e-grid {
  width: 100% !important;
  min-width: 0 !important;
}

.elementor .aoh-usp-card .elementor-widget-text-editor {
  width: 100% !important;
  min-width: 0 !important;
}

.elementor .aoh-usp-card h4,
.elementor .aoh-usp-card p,
.elementor .aoh-usp-card span {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* =========================================================
   AUSBILDUNGSKARTEN – DESKTOP
   ========================================================= */

.elementor .aoh-training-section {
  width: 100% !important;
  overflow: hidden;
}

.elementor .aoh-training-grid {
  width: 100% !important;
  max-width: none !important;
}

.elementor .aoh-training-grid > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.elementor .aoh-training-grid > .e-con-inner > .aoh-training-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100% !important;
  flex: none !important;
  overflow: hidden;
}

.elementor .aoh-training-card .elementor-widget-image {
  width: 100% !important;
  flex: 0 0 auto !important;
}

.elementor .aoh-training-card .elementor-widget-image img {
  display: block !important;
  width: 100% !important;
  height: 125px !important;
  min-height: 125px !important;
  object-fit: cover !important;
  object-position: center !important;
}

.elementor .aoh-training-card .elementor-widget-heading,
.elementor .aoh-training-card .elementor-widget-text-editor {
  width: 100% !important;
  min-width: 0 !important;
}

.elementor .aoh-training-card p,
.elementor .aoh-training-card h3,
.elementor .aoh-training-card h4 {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: auto;
}

/* =========================================================
   AUSBILDUNGSKARTEN – LAPTOP
   1025–1365 PX
   ========================================================= */

@media (min-width: 1025px) and (max-width: 1365px) {
  .elementor .aoh-training-grid > .e-con-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .elementor .aoh-training-card .elementor-widget-image img {
    height: 150px !important;
    min-height: 150px !important;
  }
}

/* =========================================================
   AUSBILDUNGSKARTEN – TABLET
   768–1024 PX
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {
  .elementor .aoh-training-grid > .e-con-inner {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    overflow: visible !important;
  }

  .elementor .aoh-training-card .elementor-widget-image img {
    height: 170px !important;
    min-height: 170px !important;
  }
}

/* =========================================================
   MOBILE BIS 767 PX
   USP gestapelt + Ausbildung als Swipe-Slider
   ========================================================= */

@media (max-width: 767px) {
  /* ---------- USP: DREI KARTEN UNTEREINANDER ---------- */

  .elementor .aoh-usp-grid > .e-con-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-flow: row !important;
    gap: 9px !important;
    width: 100% !important;
  }

  .elementor .aoh-usp-grid > .e-con-inner > .aoh-usp-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    padding: 13px 14px !important;
  }

  .elementor .aoh-usp-card > .e-grid {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .elementor .aoh-usp-icon {
    width: 54px !important;
    min-width: 54px !important;
  }

  .elementor .aoh-usp-icon img {
    display: block !important;
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    object-fit: contain !important;
  }

  .elementor .aoh-usp-card .elementor-widget-text-editor {
    width: 100% !important;
    min-width: 0 !important;
  }

  .elementor .aoh-usp-card h4 {
    margin: 0 0 5px !important;
  }

  .elementor .aoh-usp-card p {
    margin: 0 !important;
  }

  .elementor .aoh-usp-description {
    display: inline !important;
  }

  /* ---------- AUSBILDUNG: HORIZONTALER SWIPE-SLIDER ---------- */

  .elementor .aoh-training-section {
    overflow: hidden !important;
  }

  .elementor .aoh-training-grid {
    overflow: visible !important;
  }

  .elementor .aoh-training-grid > .e-con-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px !important;
    padding: 3px 16px 18px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .elementor .aoh-training-grid > .e-con-inner::-webkit-scrollbar {
    display: none;
  }

  .elementor .aoh-training-grid > .e-con-inner > .aoh-training-card {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 min(82vw, 315px) !important;
    width: min(82vw, 315px) !important;
    min-width: min(82vw, 315px) !important;
    max-width: 315px !important;
    height: auto !important;
    scroll-snap-align: start;
  }

  .elementor .aoh-training-card .elementor-widget-image.elementor-hidden-mobile {
    display: block !important;
  }

  .elementor .aoh-training-card .elementor-widget-image img {
    display: block !important;
    width: 100% !important;
    height: 138px !important;
    min-height: 138px !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .elementor .aoh-training-card .elementor-widget-heading,
  .elementor .aoh-training-card .elementor-widget-text-editor {
    display: block !important;
    width: 100% !important;
  }

  .elementor .aoh-training-card p {
    margin-bottom: 0 !important;
  }
}

/* =========================================================
   SEHR SCHMALE SMARTPHONES
   ========================================================= */

@media (max-width: 390px) {
  .elementor .aoh-training-grid > .e-con-inner {
    padding-left: 13px !important;
    padding-right: 13px !important;
    scroll-padding-left: 13px;
  }

  .elementor .aoh-training-grid > .e-con-inner > .aoh-training-card {
    flex-basis: 86vw !important;
    width: 86vw !important;
    min-width: 86vw !important;
  }

  .elementor .aoh-training-card .elementor-widget-image img {
    height: 128px !important;
    min-height: 128px !important;
  }
}


/* =========================================================
   AUSBILDUNGS-SLIDER – MOBILER SWIPE-HINWEIS
   Ergänzend ganz ans Ende des CSS setzen
========================================================= */

@media (max-width: 767px) {

  /* Bezugspunkt für Pfeil und Verlauf */
  .elementor .aoh-training-grid {
    position: relative !important;
    overflow: visible !important;
  }

  /*
   Karten etwas schmaler als der sichtbare Bereich:
   Dadurch bleibt rechts ein Teil der nächsten Karte sichtbar.
  */
  .elementor
    .aoh-training-grid
    > .e-con-inner
    > .aoh-training-card {
    flex: 0 0 min(80vw, 305px) !important;
    width: min(80vw, 305px) !important;
    min-width: min(80vw, 305px) !important;
    max-width: 305px !important;
  }

  /* Dezenter Verlauf am rechten Rand */
  .elementor .aoh-training-grid::before {
    content: "";
    position: absolute;
    z-index: 8;

    top: 0;
    right: 0;
    bottom: 18px;

    width: 42px;

    pointer-events: none;

    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.82)
    );
  }

  /* Runder Pfeil als zusätzlicher Swipe-Hinweis */
  .elementor .aoh-training-grid::after {
    content: "›";

    position: absolute;
    z-index: 9;

    top: 50%;
    right: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(23, 59, 120, 0.18);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 5px 16px rgba(15, 42, 86, 0.16);

    color: #173b78;
    font-family: Arial, sans-serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1;

    transform: translateY(-50%);
    pointer-events: none;

    animation: aoh-slider-arrow 1.8s ease-in-out infinite;
  }

  /* Kleine, ruhige Bewegung nach rechts */
  @keyframes aoh-slider-arrow {
    0%,
    100% {
      transform: translateY(-50%) translateX(0);
    }

    50% {
      transform: translateY(-50%) translateX(4px);
    }
  }
}


/* Sehr kleine Smartphones */
@media (max-width: 390px) {

  .elementor
    .aoh-training-grid
    > .e-con-inner
    > .aoh-training-card {
    flex-basis: 82vw !important;
    width: 82vw !important;
    min-width: 82vw !important;
    max-width: 290px !important;
  }

  .elementor .aoh-training-grid::after {
    right: 5px;
    width: 35px;
    height: 35px;
    font-size: 31px;
  }
}




/* ==========================================
   Mobile: Überschriften größer
========================================== */

@media (max-width:767px){

.aoh-training-card h3,
.aoh-training-card h4{
    font-size:22px !important;
    line-height:1.22 !important;
    font-weight:700 !important;
    margin-bottom:10px !important;
}

.aoh-training-card p{
    font-size:15px !important;
    line-height:1.5 !important;
}

}


/* =========================================================
   AUSBILDUNGSKARTEN
   Überschriften größer ab Tablet/Laptop
========================================================= */

/* Laptop */
@media (min-width:1025px) and (max-width:1365px){

  .aoh-training-card h3,
  .aoh-training-card h4{
      font-size:26px !important;
      line-height:1.2 !important;
      font-weight:700 !important;
      margin-bottom:10px !important;
  }

}

/* Tablet */
@media (min-width:768px) and (max-width:1024px){

  .aoh-training-card h3,
  .aoh-training-card h4{
      font-size:23px !important;
      line-height:1.2 !important;
      font-weight:700 !important;
      margin-bottom:8px !important;
  }

}



/* =========================================================
   AUSBILDUNGSKARTEN – ALLE KARTENTITEL
   Tablet, Laptop und Desktop
========================================================= */

@media (min-width: 768px) {

  .elementor .aoh-training-grid
  .aoh-training-card
  .elementor-widget-heading
  .elementor-heading-title,

  .elementor .aoh-training-grid
  .aoh-training-card
  .elementor-widget-heading h1,

  .elementor .aoh-training-grid
  .aoh-training-card
  .elementor-widget-heading h2,

  .elementor .aoh-training-grid
  .aoh-training-card
  .elementor-widget-heading h3,

  .elementor .aoh-training-grid
  .aoh-training-card
  .elementor-widget-heading h4,

  .elementor .aoh-training-grid
  .aoh-training-card
  .elementor-widget-heading h5,

  .elementor .aoh-training-grid
  .aoh-training-card
  .elementor-widget-heading h6 {
    display: block !important;

    margin: 0 0 8px !important;

    color: #17366f !important;
    font-family: inherit !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    letter-spacing: 0.015em !important;

    text-transform: uppercase !important;
  }
}



.elementor .aoh-training-card .elementor-widget-image img {
  object-position: center 65% !important;
}

/* Defensive constraints for SVG icons (only site hero). */
.aoh-hero-button svg.aoh-hero-button-icon{width:23px!important;height:23px!important;max-width:23px!important;max-height:23px!important;display:block!important;flex:0 0 23px!important}
.aoh-hero-phone svg.aoh-hero-phone-icon{width:25px!important;height:25px!important;max-width:25px!important;max-height:25px!important;display:block!important;flex:0 0 25px!important}
