/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* 
 * LINK STYLING
 */
/* Link dunkel */
.link--dark,
.link-text--dark a {
	color: var(--blau);
	position: relative;
}

.link--dark::after,
.link-text--dark a::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   width: 0%;
   height: 3px;
   margin-bottom: -2px;
   background: var(--blau);
   transition: width 0.3s ease-in-out;
}
	
.link--dark:hover::after,
.link-text--dark a:hover::after {
   width: 100%;
}

/* Link hell */
.link--light,
.link-text--light a {
	color: var(--creme) !important;
	position: relative;
}

.link--light::after,
.link-text--light a::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   width: 0%;
   height: 3px;
   margin-bottom: -2px;
   background: var(--creme);
   transition: width 0.3s ease-in-out;
}
	
.link--light:hover::after,
.link-text--light a:hover::after {
   width: 100%;
}

/*
 * BUTTONS 
 */
/* Primary */
.btn--primary:hover {
	background-color: var(--dunkel-grau);
}

/* Secondary */
.btn--secondary {
	background-color: transparent;
	color: var(--blau);
	position: relative;
	letter-spacing: 0.2;
}

.btn--secondary::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   width: 100%;
   height: 2px;
   margin-bottom: -3px;
   background: var(--blau);
   transition: width 0.3s ease-in-out;
}

.btn--secondary:hover::after {
	width: 0%;
}

/* Secondary Dark */
.btn--secondary-dark {
	background-color: transparent;
	color: var(--text);
	position: relative;	
	letter-spacing: 0.2;
}

.btn--secondary-dark::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   width: 100%;
   height: 2px;
   margin-bottom: -3px;
   background: var(--text);
   transition: width 0.3s ease-in-out;
}

.btn--secondary-dark:hover::after {
	width: 0%;
}

/*
 * FOOTER
*/
/* Icon-Liste */
.icon-list a span,
.footer-nav-menu li,
.footer-nav-menu li a {
	position: relative;
}

.footer-nav-menu li a {
	width: fit-content;
}

.icon-list a span::after,
.footer-nav-menu a::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   width: 0%;
   height: 2px;
   margin-bottom: -3px;
   background: var(--text);
   transition: width 0.3s ease-in-out;
}

.icon-list a:hover span::after,
.footer-nav-menu a:hover::after {
	width: 100%;
}

/**
 * DESKTOP MENU
 **/
#main-menu .bricks-nav-menu li.menu-item a::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   width: 0%;
   height: 2px;
   margin-bottom: -4px;
   background: var(--blau);
   transition: width 0.3s ease-in-out;
}
	
#main-menu .bricks-nav-menu li.menu-item:hover a::after,
#main-menu .bricks-nav-menu li.menu-item.current-menu-item a::after {
   width: 100%;
}


#main-menu .bricks-nav-menu .menu-item-has-children .sub-menu li a::after {
	display: none;
}

#main-menu .sub-menu li a {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.6rem;	
}

#main-menu .sub-menu li a::before {
	content: ""; 
	display: flex; 
	position: relative; 
	border-radius: 1em; 
	width: 4px; 
	height: 4px; 
	background-color: var(--white);	
}

/*
 * TEST COUNTER 
 */
.leistungen-wrapper {
    counter-reset: leistung-counter;
}

.leistungen-wrapper .leistung-item {
    counter-increment: leistung-counter;
}

.leistungen-wrapper .leistung-item .brxe-text-basic::before {
    content: counter(leistung-counter, decimal-leading-zero);
}