/*
 Theme Name:   PLL Kanzlei
 Theme URI:    https://www.neckarmedia.com
 Description:  WordPress Child Theme
 Author:       Neckarmedia
 Author URI:   https://www.neckarmedia.com
 Template:     enfold
 Version:      1.0
*/

/* @link https://utopia.fyi/type/calculator?c=375,16,1.2,1240,18,1.25,8,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */

:root {
  --step--2: clamp(0.69rem, calc(0.68rem + 0.05vw), 0.72rem);
  --step--1: clamp(0.83rem, calc(0.80rem + 0.12vw), 0.90rem);
  --step-0: clamp(1.00rem, calc(0.95rem + 0.23vw), 1.13rem);
  --step-1: clamp(1.20rem, calc(1.11rem + 0.38vw), 1.41rem);
  --step-2: clamp(1.44rem, calc(1.30rem + 0.59vw), 1.76rem);
  --step-3: clamp(1.73rem, calc(1.52rem + 0.87vw), 2.20rem);
  --step-4: clamp(2.07rem, calc(1.78rem + 1.25vw), 2.75rem);
  --step-5: clamp(2.49rem, calc(2.08rem + 1.75vw), 3.43rem);
  --step-6: clamp(2.99rem, calc(2.42rem + 2.41vw), 4.29rem);
  --step-7: clamp(3.58rem, calc(2.81rem + 3.29vw), 5.36rem);
  --step-8: clamp(4.30rem, calc(3.26rem + 4.45vw), 6.71rem);
}

:root {
    --primary-font: 'Work Sans', sans-serif;
    --heading-font: 'EmpiraLight', sans-serif;
}

:root {
    --pll-black: #000;
    --pll-white: #fff;
	--pll-grey: #f2f2f2;
}

/* work-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/work-sans-v23-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* work-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/work-sans-v23-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* empiralight-italic - latin */
@font-face {
  font-display: swap;
  font-family: 'EmpiraLight';
  font-style: italic;
  font-weight: 300;
  src: url('fonts/empiralightita-webfont.woff2') format('woff2');
}

/* empiralight - latin */
@font-face {
  font-display: swap;
  font-family: 'EmpiraLight';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/empiralight-webfont.woff2') format('woff2');
}




/* =======================================================================================================================================
Typo
======================================================================================================================================= */
html{-webkit-tap-highlight-color: transparent;}
body{-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;}
body,p{font-family: var(--primary-font); font-size: var(--step-0); font-weight: 400; line-height: 1.6}
p{margin: 0 0 1em;}
h1,h2,h3,h4,h5,h6{font-family: var(--heading-font); font-weight: 300 !important; line-height: 1.2; letter-spacing: 0 !important; text-transform: inherit !important; margin: 0 0 .4em 0 !important}

#top h1{font-size: var(--step-5);}
#top h2{font-size: var(--step-4);}
#top h3{font-size: var(--step-2);}
#top h4{font-size: var(--step-1);}
#top h5{font-size: var(--step-0);}
#top h6{font-size: var(--step-0);}

#top .special_amp{color: inherit; font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit;}
#top .av-special-heading{padding: 0 !important}
#top .av-special-heading .special-heading-border{display: none;}
#top .av-special-heading.avia-builder-el-no-sibling .av-special-heading-tag{margin: 0 !important}

#top .av-subheading p{font-family: var(--heading-font); font-weight: 300; font-size: var(--step-2)}

#top .avia-section b,
#top .avia-section strong,
#top .footer_color b,
#top .footer_color strong,
#top .socket_color b,
#top .socket_color strong{color: inherit; font-size: 120%;}

/* Button */
#top div .avia-button{
    font-size: var(--step-0);
    font-weight: 500;
    padding: .5em 1em;
    border-radius: .75em;
    background: transparent;
    border: 1px solid #000 !important;
    color: #000;
    text-decoration: none !important;
    -webkit-transition: .2s ease;
    -o-transition: .2s ease;
    transition: .2s ease;
}

#top .alternate_color div .avia-button, #top #footer div .avia-button{
    border: 1px solid #fff !important;
    color: #fff;
}

#top div .avia-button.avia-color-dark{color: #000;}
#top div .avia-button.avia-color-light{border: 1px solid #fff !important;}
#top div .avia-button:hover{opacity: 1}
html.no-touch-device #top div .avia-button:hover{translate: 0 -2px}

/* Blockquote */
#top blockquote{border: 0; font-size: var(--step-1); margin: 2em 0 2em; padding: 0 0 0 2em; position: relative; max-width: 420px; font-style: italic; line-height: 1.6}
#top blockquote:before{content: '\e833'; font-family: 'entypo-fontello'; position: absolute; top: -.3em; left: 0; opacity: .1; font-size: 4em; font-style: normal; line-height: 1}
#top blockquote p{font-size: 1em; margin: 0}

/* List */
#top .avia_textblock ul{
    list-style: none;
    margin: 0 0 1em 0;
}
#top .avia_textblock ul > li{
    margin: 0 0 0.5em 0;
    padding: 0 0 0 1em;
    position: relative;
}
#top .avia_textblock ul > li:before{
    content: '\e875';
    font-family: 'entypo-fontello';
    position: absolute;
    left: 0;
    display: inline-block;
}


/* =======================================================================================================================================
Header
======================================================================================================================================= */
#header:not(.av_header_transparency){
    -webkit-box-shadow: 0;
    box-shadow: 0;
}

#header_main{border: 0;}

@media only screen and (max-width: 989px){ 
    .responsive #top #header{position: fixed !important; top: 0; left: 0; right: 0; width: 100%}
    .responsive #top #main,
    .responsive.html_mobile_menu_tablet.html_header_top #top #main{padding-top: 80px !important}
    .responsive #top #wrap_all .av-logo-container,
    .responsive #top #header_main > .container .main_menu .av-main-nav > li > a,
    .responsive.html_mobile_menu_tablet #top #wrap_all .av-logo-container,
    .responsive.html_mobile_menu_tablet #top #header_main > .container .main_menu .av-main-nav > li > a{
        height: 80px;
        line-height: 80px;
    }
}

@media only screen and (min-width: 990px){
    #header .inner-container{
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    #header .inner-container > .logo{order: 1; margin-right: auto; position: relative;}
    #header .inner-container > nav{order: 3; position: relative;}
}

/* Logo */
#header_main .inner-container > .logo,
#header_main .inner-container > .logo a{display: -webkit-box;display: -ms-flexbox;display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; overflow: visible}
#header_main .inner-container > .logo a{height: auto}
#header_main .inner-container > .logo a svg,
#header_main .inner-container > .logo a img{width: 160px}

@media only screen and (min-width: 990px){
    #header_main .inner-container > .logo a svg,
    #header_main .inner-container > .logo a img{width: 180px}
}

/* Navigation */
@media only screen and (min-width: 990px){
	#header_main .inner-container > nav{display: flex; align-items: center;}
	#header_main .inner-container > nav > div,
	#header_main .inner-container > nav > div > ul,
	#header_main .inner-container > nav > div > ul > li{height: 100%}
	#header_main .inner-container > nav > div > ul > li.menu-item{display: flex; align-items: center}
	#header_main .inner-container > nav ul#avia-menu > li > a{line-height: 1.6 !important; height: auto !important; font-size: var(--step--1); font-weight: 400}
    #header_main .inner-container > nav ul#avia-menu > li li > a{font-size: var(--step--1); font-weight: 400}
    #header_main .inner-container > nav ul#avia-menu li:hover > a > .avia-menu-text,
    #header_main .inner-container > nav ul#avia-menu li.current-menu-item > a > .avia-menu-text{opacity: .3}
}

@media only screen and (min-width: 1440px){
    #header_main .inner-container > nav ul#avia-menu > li > a{font-size: var(--step-0);}
}

/* Hamburger Menu */
.av-hamburger-box{width: 32px}
.av-hamburger-inner, 
.av-hamburger-inner::before, 
.av-hamburger-inner::after{border-radius: 0}
#top ul#av-burger-menu-ul{vertical-align: top}
#top ul#av-burger-menu-ul li a:hover{background: inherit !important;}
#top ul#av-burger-menu-ul > li > a{font-size: var(--step-0);}
#top ul#av-burger-menu-ul > li li > a{font-size: var(--step--1);}


/* =======================================================================================================================================
Accessibility
======================================================================================================================================= */
#top :focus-visible{
    overflow: visible; 
    outline: -webkit-focus-ring-color auto 1px; 
    opacity: 1 !important;
	box-shadow: inset 0 0 0 2px #fff;
}


/* =======================================================================================================================================
Misc
======================================================================================================================================= */
/* Layout */
.widgettitle{font-weight: inherit; text-transform: inherit; letter-spacing: inherit; font-size: inherit;}

@media only screen and (max-width: 767px){
    .responsive #top #wrap_all .container{width: 90%; max-width: 90%;}
}

/* Images */
#top .image-overlay{display: none !important;}
#top .avia_image,
#top .av-image-caption-overlay,
#top .avia-image-container-inner{border-radius: 0}

/* Toggle */
#top section.av_toggle_section .toggler{padding: 1em 3em 1em 1rem; margin: 0 0 .8em; font-size: var(--step-0); background: transparent; border: 1px solid; border-radius: .5em}
#top section.av_toggle_section .toggler:hover{background: transparent;}
#top section.av_toggle_section .toggler .toggle_icon{display: none;}
#top section.av_toggle_section .toggler:after{
	content: '\e87d';
    font-family: 'entypo-fontello';
    position: absolute;
    right: 1em;
    transition: .2s ease;
}
#top section.av_toggle_section .toggler.activeTitle:after{rotate: 90deg}
#top section.av_toggle_section .toggle_content{border: 0; background: transparent; padding: .5em 1rem 1.5em;}
#top section.av_toggle_section .toggle_content *{font-size: var(--step--1);}

/* Social Icons */
#top ul.__social--media--icons{
    display: flex;
    gap: 0;
    font-size: var(--step-2);
    margin: 0 0 1em 0;
    line-height: 1;
}
#top ul.__social--media--icons > li > a{padding: .2em .4em;}


/* Image Section */
#top .__img-sec{min-height: 650px}


/* =======================================================================================================================================
Blog: Single Post
======================================================================================================================================= */
#top .template-single-blog article.post-entry .big-preview{max-width: 720px; margin: auto;}
#top .fullsize .template-blog .post .entry-content-wrapper{max-width: 720px; text-align: left; line-height: 1.6; font-size: var(--step-0);}
#top .template-single-blog article.post-entry .entry-content-wrapper header h1{text-align: left; font-size: var(--step-3); padding: 1rem 0}
#top .template-single-blog article.post-entry .entry-content-wrapper header .post-meta-infos{text-align: left; font-size: var(--step--1);}


/* =======================================================================================================================================
Formular
======================================================================================================================================= */
#top .input-text, 
#top input[type=email], 
#top input[type=input], 
#top input[type=number], 
#top input[type=password], 
#top input[type=search], 
#top input[type=tel], 
#top input[type=text], 
#top input[type=url], 
#top select, 
#top textarea{
    font-family: var(--primary-font);
    padding: 1em;
    border-radius: .5em;
    border: 1px solid;
    margin: 0;
    font-size: var(--step--1);
}

#top form label{font-size: var(--step--1)}
#top form button{
	font-size: var(--step--1);
    font-weight: 700;
    padding: 1em 2em;
    border-radius: .5em;
    background: var(--enfold-main-color-color);
    color: var(--enfold-main-color-bg);
	border: 1px solid var(--enfold-main-color-color);
    box-shadow: none;
}
#top .alternate_color form button{
	background: var(--enfold-alternate-color-color);
    color: var(--enfold-alternate-color-bg);
}

/* Formidable Forms */
#top .frm_forms > form .frm_primary_label{
	color: inherit;
	font-weight: 700;
}
#top .frm_forms > form .frm_required{
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
}
#top .frm_forms > form p.description, 
#top .frm_forms > form div.description, 
#top .frm_forms > form div.frm_description, 
#top .frm_forms > form .frm-show-form > div.frm_description, 
#top .frm_forms > form .frm_error, 
#top .frm_forms > form .frm_pro_max_limit_desc{
	color: inherit;
	font-size: var(--step--1);
}



/* Scroll to top */
#scroll-top-link svg {
  display: none;
}

#scroll-top-link {
  background: url('/wp-content/uploads/2025/06/arrow.svg') center center no-repeat;
	background-color: #fff;
  background-size: 40px 40px;
	height: 80px;
	border-radius: 1rem;
}

#scroll-top-link.avia_pop_class{opacity: 1;}
#scroll-top-link:hover.avia_pop_class{opacity: .7;}


/* =======================================================================================================================================
Footer
======================================================================================================================================= */
#footer{padding: 6rem 0 1rem 0}
#footer .flex_column{width: 100%; margin: 0;}

#footer .flex_column {
  display: flex;
  flex-wrap: nowrap;
}

#footer .flex_column > section {
  flex-shrink: 0;
}

#footer #media_image-2 {
  flex: 1;
  min-width: 0;
}

#footer #custom_html-2,
#footer #custom_html-3,
#footer #custom_html-4 {
  margin-left: 3%;
	margin-top: 8rem;
}
#footer #custom_html-2,
#footer #custom_html-3{
  flex: 0 0 320px; 
}

#footer #custom_html-4 {
  flex: 0 0 180px; 
}

#footer #custom_html-5 {
  flex: 1;
  min-width: 0;
}

#footer #nav_menu-2 {
  flex: 1; 
  margin-left: 3%;
}


@media (max-width: 1099px) {
  #footer .flex_column {
    display: block;
  }

  #footer .flex_column > section {
    width: 100%;
    margin-left: 0 !important;
	  margin-top: 0 !important;
    flex: none;
  }
	
	#top #footer .widget ul {text-align: left !important;}
	
	#footer .flex_column:nth-of-type(2) {
		padding-top: 2rem;
	}
	
	#top #footer .widget_nav_menu li {margin-right: 1rem; margin-left: 0 !important}
}



#footer .flex_column:nth-of-type(2) {
    border-top: 1px solid #fff;
}

#footer .flex_column:first-of-type{padding-bottom: 3rem;}
#footer .flex_column:first-of-type #media_image-2 img{max-width: 220px !important}
#top #footer .widget_nav_menu li {display: inline-block; font-size: var(--step-0); margin-left: 1rem;}
#top #footer .widget ul {text-align: right;}


/* =======================================================================================================================================
Socket
======================================================================================================================================= */
#socket{font-size: var(--step--1);}
#socket .container{padding-top: 1rem; padding-bottom: 4rem;}


/* =======================================================================================================================================
Rounded Box Row
======================================================================================================================================= */
.__rounded--box--row{margin-bottom: 2rem}
.__rounded--box--row > div{padding: 4rem 5%; border-radius: .5rem; border: 2px solid; margin-bottom: 2rem;}
.__rounded--box--row > div.__border{display: none}
.__rounded--box--row > div.__image{aspect-ratio: 16 / 9; position: relative;}
.__rounded--box--row > div.__image img{display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover;}

@media (min-width: 1300px){

	.__rounded--box--row{position: relative; aspect-ratio: 716/276}
	.__rounded--box--row > div{position: absolute; width: 54%; filter: url(#rounded); height: 100%; padding: 0; border-radius: 0; border: 0; margin: 0}
	.__rounded--box--row > div.__border{display: block}
	.__rounded--box--row > div.__image{aspect-ratio: unset; position: absolute}
	.__rounded--box--row > div > div{height: 100%; overflow: auto;}
	.__rounded--box--row > div:nth-child(1),
	.__rounded--box--row > div:nth-child(2){left: 0;}
	.__rounded--box--row > div:nth-child(1) > div,
	.__rounded--box--row > div:nth-child(2) > div{clip-path: polygon(82% 0, 0 0, 0 100%, 98% 100%); border-radius: .5rem; padding: 16% 28% 0 16%}
	.__rounded--box--row > div:nth-child(1) > div{background: #444}
	.__rounded--box--row > div:nth-child(2) > div{width: calc(100% - 4px); height: calc(100% - 4px); position: absolute; top: 2px; left: 2px; background: #fff;}

	.__rounded--box--row > div:nth-child(3),
	.__rounded--box--row > div:nth-child(4){right: 0;}
	.__rounded--box--row > div:nth-child(3) > div,
	.__rounded--box--row > div:nth-child(4) > div{clip-path: polygon(100% 0, 2% 0, 18% 100%, 100% 100%); border-radius: .5rem; padding: 16% 16% 0 28%}
	.__rounded--box--row > div:nth-child(3) > div{background: #444}
	.__rounded--box--row > div:nth-child(4) > div{width: calc(100% - 4px); height: calc(100% - 4px); position: absolute; top: 2px; left: 2px; background: #fff;}
	
	.__rounded--box--row.__hero{position: relative; aspect-ratio: 920/450}
	.__rounded--box--row.__hero > div:nth-child(1),
	.__rounded--box--row.__hero > div:nth-child(2){width: 63%;}
	.__rounded--box--row.__hero > div:nth-child(3),
	.__rounded--box--row.__hero > div:nth-child(4){width: 44%;}
	.__rounded--box--row.__hero > div:nth-child(1) > div,
	.__rounded--box--row.__hero > div:nth-child(2) > div{clip-path: polygon(87% 0, 0 0, 0 100%, 98% 100%); padding: 12% 22% 0 16%;}

}

@media (min-width: 1440px){
	.__rounded--box--row > div > div h1,
	.__rounded--box--row > div > div h2{translate: -1em 0}
}
