/*
 Theme Name: scout-out-Child-Theme
 Theme URI: https://www.scout-out.ch/
 Description: Dies ist ein <b>ready-to-start</b> Child-Theme f&uuml;r Divi. Entwickelt und bereitgestellt von Niki Huwyler scout-out Multimediadirector. Dieses Theme beinhaltet alle notwendigen Dateien, um den schnellen und einfach Start zu erm&ouml;glichen.
 Author: scout-out - Niki Huwyler
 Author URI: https://www.scout-out.ch/
 Template: Divi
 Version: 1.0.1
 Tag: divi, child-theme, mediadirector, easy-to-use, scout-out, swiss-group, 
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/*  ==================================================================
	STANDARD CSS =====================================================
	==================================================================  */

/* ============================================
   Touch Target Fix – Divi Slider Dots
   Berührungszielbereiche WCAG 2.5.5 / 2.5.8
   ============================================ */

/* Wrapper: genug Abstand zwischen den Dots */
.et-pb-controllers {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}

/* Jeder Dot: sichtbarer Bereich bleibt gleich,
   Klickfläche wird auf 48×48px vergrössert */
.et-pb-controllers a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px;
  min-height: 48px;
  padding: 0 !important;
  margin: 0 !important;
  position: relative;
}

/* Der eigentliche sichtbare Punkt bleibt klein */
.et-pb-controllers a::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: currentColor;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

/* Aktiver Dot */
.et-pb-controllers a.et-pb-active-control::after {
  opacity: 1;
}

/* Hover-Effekt */
.et-pb-controllers a:hover::after {
  opacity: 0.7;
}

/* Divi setzt auf <a> oft display:inline-block 
   und width/height via direkte Attribute –
   diese überschreiben wir gezielt */
.et-pb-controllers a[href] {
  text-indent: -9999px;
  overflow: hidden;
  line-height: 0;
  font-size: 0 !important;
}

.et-db #et-boc .et-l.et-l--header .et_builder_inner_content {
    z-index: 0;
}

/* ============================================
   Accessible Link Names – Divi Slider Arrows
   WCAG 2.4.6 / 4.1.2
   ============================================ */

/* Screenreader-only Text */
.et-pb-arrow-prev::before,
.et-pb-arrow-next::before {
  content: '';
  display: block;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Pfeilfläche vergrössern auf 48×48px (Touch Target Fix) */
.et-pb-slider-arrows a.et-pb-arrow-prev,
.et-pb-slider-arrows a.et-pb-arrow-next {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  position: relative;
}

/* Fokus-Ring für Tastaturnavigation */
.et-pb-slider-arrows a.et-pb-arrow-prev:focus,
.et-pb-slider-arrows a.et-pb-arrow-next:focus {
  outline: 3px solid #f0a500;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================
   Touch Target Fix – Slider-Dots (Best Practices)
   WCAG 2.5.5 / 2.5.8
   ============================================ */
 
.et-pb-controllers {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}
 
.et-pb-controllers a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  padding: 0 !important;
  margin: 0 !important;
  position: relative;
}
 
.et-pb-controllers a::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: currentColor;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
 
.et-pb-controllers a.et-pb-active-control::after {
  opacity: 1;
}
 
.et-pb-controllers a:hover::after {
  opacity: 0.7;
}
 
/* Fokus-Ring für Tastaturnavigation */
.et-pb-controllers a:focus,
.et-pb-arrow-prev:focus,
.et-pb-arrow-next:focus {
  outline: 3px solid #c0392b;
  outline-offset: 2px;
  border-radius: 4px;
}
 
/* ============================================
   Touch Target Fix – Slider-Pfeile
   ============================================ */
 
.et-pb-slider-arrows a.et-pb-arrow-prev,
.et-pb-slider-arrows a.et-pb-arrow-next {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  position: relative;
}
 
/* ============================================
   Kontrast-Fix – "Mehr lesen..." Links
   WCAG 1.4.3 (Mindestkontrast 4.5:1)
   ============================================ */
 
.more-link {
  color: #e8e8e8 !important;
  font-weight: 600;
  text-decoration: underline;
}
 
.more-link:hover {
  color: #ffffff !important;
}
 
/* ============================================
   Kontrast-Fix – Footer-Texte auf dunklem/rotem Hintergrund
   ============================================ */
 
.et_pb_row_1_tb_footer span,
.et_pb_row_1_tb_footer li {
  color: #f0f0f0 !important;
}
 
.et_pb_row_1_tb_footer a[href^="tel:"],
.et_pb_row_1_tb_footer a[href^="mailto:"] {
  color: #ffffff !important;
  text-decoration: underline;
}