/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Serafin Heier @ HIMG Hamburg
 Author URI: himg-hamburg.de
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

/* --------------------------------- own Tabs Module start---------------------------------------- */
/* === Tabs component (Divi) === */
.tabs { 
	--tabs-speed: 220ms; 
}

.tabs .tabs-nav{
  position: relative;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17,38,91,.06) inset, 0 12px 30px rgba(17,38,91,.07);
}

.tabs .tabs-btn a,
.tabs .tabs-btn button{
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 12px 22px;
  border-radius: 9999px;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 1;
  transition: color var(--tabs-speed) ease, transform 120ms ease;
}
.tabs .tabs-btn a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.tabs .tabs-btn.is-active a { font-weight: 700; }

.tabs .tabs-indicator{
  position: absolute;
  top: 8px;
  left: 10px;
  height: calc(100% - 16px);
  width: 100px;
  border-radius: 9999px;
  background: #F5C84B;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  transition: transform var(--tabs-speed) ease, width var(--tabs-speed) ease, background var(--tabs-speed) ease;
  z-index: 1;
}

.tab-panel{
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--tabs-speed) ease, transform var(--tabs-speed) ease;
}
.tab-panel.is-active{
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.tab-panel.is-hiding{
  display: block;
  opacity: 0;
  transform: translateY(8px);
}
/* accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .tabs { --tabs-speed: 1ms; }
}
/* --------------------------------- own Tabs Module end ---------------------------------------- */