/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* theme */
:root{
	--box-radius: 1.25rem;
	--btn-radius: 0.875rem;
	--padding-v: 5rem;
	--padding-h: 1.25rem
}

@media (max-width: 1024px){
:root{
	--padding-v: 2.5rem;
	--padding-h: 1.25rem
}
}

ul {
  padding-left: 22px;
  list-style-position: outside;
}
/*ul li {text-indent: 0px;}*/
p strong, a strong, strong a {font-weight: 700;}

/* Nur Textlinks */
p a:not(:has(img, button,.elementor-element)),
.elementor-widget-theme-post-content a:not(:has(img, button)) {
  background: linear-gradient(180deg, transparent calc(100% - 1px), var(--e-global-color-secondary) 0);
}

p a:not(:has(img, button,.elementor-element)):hover,
.elementor-widget-theme-post-content a:not(:has(img, button)):hover {
  color: var(--e-global-color-secondary);
}

p a:has(img, button),
.elementor-widget-theme-post-content a:has(img, button,.e-con-inner,.elementor-element){
  background: none !important;
}

.list-hover-underline h3{
    transition: color .2s ease;
	display: inline;
}
.list-hover-underline:hover h3{
    background: linear-gradient(180deg, transparent calc(100% - 2px), var(--e-global-color-secondary) 0);
}

/* wysiwyg bild fix */
figure{
	/*margin-block-start: 0;
    margin-block-end: 0;*/
    margin-inline-start: 0;
    margin-inline-end: 0;
}

/* Fokus-Effekt */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus, 
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="url"]:focus-visible,
input[type="password"]:focus-visible,
input[type="search"]:focus-visible,
input[type="tel"]:focus-visible,
textarea:focus-visible,
select:focus-visible {
appearance: none;
  -webkit-appearance: none;
outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--e-global-color-secondary) 30%, transparent);
}
/* Fokus nur wenn per Tastatur erreicht (barrierefrei) */


/* header */
header .elementor-sticky .e-con-inner{transition: .3s ease-out}
.scrolled header .elementor-sticky .e-con-inner{padding-block-start: 1.25rem}

.elementor-button.has-no-link .elementor-heading-title{
	color: var(--e-global-color-secondary);
	font-weight: 400;
	background: none;
	transition: .2s ease;
}
.elementor-button.has-no-link:hover .elementor-heading-title{
	color: #fff !important;
	
}


/* classes */
.b-post-content :is(h2,h3,h4,h5){color: var(--e-global-color-secondary); font-weight: 700;}
.b-post-content h2:not(.elementor-heading-title){margin-top: 4rem;}
.b-post-content h3:not(.elementor-heading-title){margin-top: 3rem;}
.b-post-content h4:not(.elementor-heading-title){margin-top: 2.5rem;}
.b-post-content ul li{margin-block-end: 1rem}
.b-post-content.links-bold li a, .b-post-content.links-bold li a strong{color: var(--e-global-color-secondary); font-weight: 700;}
.b-post-content.links-bold li  a:hover, .b-post-content.links-bold li a:hover strong{background: linear-gradient(180deg, transparent calc(100% - 2px), var(--e-global-color-secondary) 0);}


.box-r, .b-post-content img, .b-post-content iframe{
	border-radius: var(--box-radius);
	overflow: hidden;
}
.btn-r{
	border-radius: var(--btn-radius);
	overflow: hidden;
}
body .box-s{
	border-radius: var(--box-radius);
	box-shadow: 0px 10px 45px rgba(0,0,0,.07);
}


.box-s.box-link{transition: .2s ease; border: solid 1px var(--e-global-color-afd4b1d);}
.box-s.box-link:hover{ border-color: var(--e-global-color-secondary);}
/* .box-s.box-link{transition: .3s ease;}
.box-s.box-link:hover{box-shadow: 0px 20px 45px rgba(0,0,0,.11); transform: translateY(-2px)} */

.default-list a svg, .default-list a p,.brcch-slider .pane a p, .brcch-slider .pane a svg{transition: .2s ease;}
.default-list a:hover svg,.brcch-slider .pane a:hover svg{transform: translateX(5px);}
.default-list a:hover svg path, .brcch-slider .pane a:hover svg path{fill:var(--e-global-color-secondary);}
.default-list a:hover p, .brcch-slider .pane a:hover p{color: var(--e-global-color-secondary);}

.btn-icon svg{width: 0.75rem}
.btn-icon a svg path{transition:.2s ease;}
.btn-icon a:hover svg path{fill: #000;}
.no-margin, .no-margin div, .no-margin p{margin-block-end: 0}



