/*
Theme Name: Divi Child
Theme URI: https://diviextended.com/
Version: 1.0
Description: Child Theme of Divi
Author: Divi Extended
Template: Divi
*/
@import url("../Divi/style.css");


/* ===== Firefox Fix: Logo skalieren beim Scroll (Divi Header) ===== */
@-moz-document url-prefix() {

  /* Header im Sticky-State */
  #main-header.et-fixed-header .logo_container,
  .et-fixed-header .et_pb_menu__logo {
    height: 48px !important;        /* Zielhöhe im verkleinerten Zustand */
    line-height: 48px !important;
    overflow: visible !important;
  }

  /* Logo-Bild korrekt skalieren statt beschneiden */
  #main-header.et-fixed-header .logo_container img,
  .et-fixed-header .et_pb_menu__logo img {
    height: auto !important;
    width: auto !important;
    max-height: 48px !important;    /* gleiche Zahl wie oben */
    object-fit: contain !important;
    transform: none !important;     /* verhindert Firefox-Bug mit scale() */
  }

  /* Falls Divi Inline-Scaling setzt */
  .et-fixed-header #logo,
  .et-fixed-header .logo_container img {
    transform: none !important;
    max-height: 48px !important;
  }
}

.dl-anchor-menu a::before {
	content:'';
	width:100%;
	height:3px;
	background: #000;
	display: block;
	position: absolute;
	bottom: -20px;
	opacity: 0;
	transition: all .3s;
}

.dl-anchor-menu a {
	position:relative;
}
.dl-anchor-menu a.active::before {
	bottom: 0;
	opacity: 1;
}

.dl-anchor-menu.et_pb_menu a.active {
    color: lightsalmon!important;
}