/* montserrat-200 - latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 200;
    src: url('assets/fonts/montserrat-v25-latin-200.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('assets/fonts/montserrat-v25-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('assets/fonts/montserrat-v25-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
    url('assets/fonts/montserrat-v25-latin-200.woff') format('woff'), /* Modern Browsers */
    url('assets/fonts/montserrat-v25-latin-200.ttf') format('truetype'), /* Safari, Android, iOS */
    url('assets/fonts/montserrat-v25-latin-200.svg#Montserrat') format('svg'); /* Legacy iOS */
}
/* montserrat-300 - latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('assets/fonts/montserrat-v25-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('assets/fonts/montserrat-v25-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('assets/fonts/montserrat-v25-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
    url('assets/fonts/montserrat-v25-latin-300.woff') format('woff'), /* Modern Browsers */
    url('assets/fonts/montserrat-v25-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
    url('assets/fonts/montserrat-v25-latin-300.svg#Montserrat') format('svg'); /* Legacy iOS */
}
/* montserrat-700 - latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/montserrat-v25-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('assets/fonts/montserrat-v25-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('assets/fonts/montserrat-v25-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('assets/fonts/montserrat-v25-latin-700.woff') format('woff'), /* Modern Browsers */
    url('assets/fonts/montserrat-v25-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('assets/fonts/montserrat-v25-latin-700.svg#Montserrat') format('svg'); /* Legacy iOS */
}
/* montserrat-900 - latin */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    src: url('assets/fonts/montserrat-v25-latin-900.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('assets/fonts/montserrat-v25-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('assets/fonts/montserrat-v25-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
    url('assets/fonts/montserrat-v25-latin-900.woff') format('woff'), /* Modern Browsers */
    url('assets/fonts/montserrat-v25-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
    url('assets/fonts/montserrat-v25-latin-900.svg#Montserrat') format('svg'); /* Legacy iOS */
}
/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/open-sans-v28-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('assets/fonts/open-sans-v28-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('assets/fonts/open-sans-v28-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('assets/fonts/open-sans-v28-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('assets/fonts/open-sans-v28-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('assets/fonts/open-sans-v28-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
  font-display: swap;
}

/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/open-sans-v28-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('assets/fonts/open-sans-v28-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('assets/fonts/open-sans-v28-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('assets/fonts/open-sans-v28-latin-700.woff') format('woff'), /* Modern Browsers */
       url('assets/fonts/open-sans-v28-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('assets/fonts/open-sans-v28-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
  font-display: swap;
}



body,
html {
  width: 100%;
  height: 100%;
  background-color: #f8f9fa!important;
}

body {
  font-family: 'Open Sans', sans-serif;
}

.btn-xl {
  padding: 1.25rem 2.5rem;
}

.content-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.content-section-heading h2 {
  font-size: 3rem;
}

.content-section-heading h3 {
  font-size: 1rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

h1{
    margin-top: 50px;
    margin-bottom: 30px;
}

h4{
    margin-top: 3rem!important;
    margin-bottom: 1.5rem!important;
}

h5{
    margin-top: 1rem!important;
    margin-bottom: 0.5rem!important;
}

.text-faded {
  color: rgba(255, 255, 255, 0.7);
}

/* Map */
.map {
  height: 30rem;
}

@media (max-width: 992px) {
  .map {
    height: 75%;
  }
}

.map iframe {
  pointer-events: none;
}

.scroll-to-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  display: none;
  width: 50px;
  height: 50px;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  line-height: 45px;
}

.scroll-to-top:focus, .scroll-to-top:hover {
  color: white;
}

.scroll-to-top:hover {
  background: #000;
}

.scroll-to-top i {
  font-weight: 800;
}

.masthead {
  min-height: 30rem;
  position: relative;
  display: table;
  width: 100%;
  height: auto;
  padding-top: 3rem;
  padding-bottom: 8rem;
  background: url("assets/img/ebs-header.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.subhead {
  min-height: 15rem;
  position: relative;
  display: table;
  width: 100%;
  height: auto;
  padding-top: 3rem;
  padding-bottom: 8rem;
  background: url("assets/img/ebs-header.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Side Menu */
#sidebar-wrapper {
  position: fixed;
  z-index: 500;
  right: 0;
  top: -3000px;
  opacity: 0;
  width: 100%;
  height: 100%;
  transition: all 0.4s ease 0s;
  background: #000;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 300px;
  margin: 0;
  padding: 0;
  list-style: none;
}


.sidebar-nav li.menu-item a {
  display: block;
  text-decoration: none;
  color: #fff;
  padding: 15px;
  background-image: url("assets/img/menuunder.png");
  background-position: 15px bottom;
  background-repeat: no-repeat;
  background-size: 68px 100%;
  max-width: max-content;
  transition: all 0.4s ease 0s;
}

.sidebar-nav li a:hover {
  text-decoration: none;
  background-size: 100% 100%;
  color: #fff;

}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
  text-decoration: none;
}


#sidebar-wrapper.active {
  opacity: 1;
   top: 0;
  transition: all 0.4s ease 0s;
}

.menu-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  width: 50px;
  height: 50px;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  line-height: 50px;
  z-index: 999;
}

.menu-toggle:focus, .menu-toggle:hover {
  color: #fff;
}



.service-icon {
  background-color: #fff;
  color: #1D809F;
  height: 7rem;
  width: 7rem;
  display: block;
  line-height: 7.5rem;
  font-size: 2.25rem;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}
.portfolio-item {
  display: block;
  position: relative;
  overflow: hidden;
  max-width: 530px;
  margin: auto auto 1rem;
}

.portfolio-item .caption {
  display: flex;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-weight: 800;
}

.portfolio-item .caption .caption-content {
  color: #fff;
  margin: auto 2rem 2rem;
}

.portfolio-item .caption .caption-content h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.portfolio-item .caption .caption-content p {
  font-weight: 300;
  font-size: 1.2rem;
}

@media (min-width: 992px) {
  .portfolio-item {
    max-width: none;
    margin: 0;
  }

  .portfolio-item .caption .caption-content {
    transition: opacity 0.25s;
    margin-left: 5rem;
    margin-right: 5rem;
    margin-bottom: 5rem;
  }


  .portfolio-item:hover .caption {
    background-color: rgba(0, 0, 0, 0.6);
  transition: background-color 0.15s ease-in-out;
  }
}

.map iframe {
  height: 100%;
  width: 100%;
  border: 0;
}

footer.footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

footer.footer .social-link {
  display: block;
  height: 4rem;
  width: 4rem;
  line-height: 4.3rem;
  font-size: 1.5rem;
  background-color: #1D809F;
  transition: background-color 0.15s ease-in-out;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}

footer.footer .social-link:hover {
  background-color: #155d74;
  text-decoration: none;
}

a {
  color: #000;
  outline: 0;
}
a:hover, a:focus, a:active {
  color: #000;
}

.btn-primary {
  background-color: #1D809F !important;
  border-color: #1D809F !important;
  color: #fff !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: #155d74 !important;
  border-color: #155d74 !important;
}

.btn-secondary {
  background-color: #ecb807 !important;
  border-color: #ecb807 !important;
  color: #fff !important;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background-color: #ba9106 !important;
  border-color: #ba9106 !important;
}

.btn-dark {
  color: #fff !important;
}

.btn {
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.bg-primary {
  background-color: #1D809F !important;
}

.text-primary {
  color: #1D809F !important;
}

.text-secondary {
  color: #ecb807 !important;
}



/* ---- */


#mainlogo {
	max-width: 40em;
}

.subhead #mainlogo {
	max-width: 32em;
}

header p, header h3 {
	font-family: 'Montserrat', sans-serif;
	color: #fff;
}

header p.adresse, #sidebar-wrapper p {
	font-family: 'Montserrat', sans-serif;
	font-weight: 200;
	font-size: 1.48em;
}

header .anw p {
	color: #fff;
	font-size: 1.2em;
	font-weight: 700;
}

header h3 {
	text-transform: uppercase;
	font-weight: 200;
	font-size: .8em;
}

.anw {
	position: absolute;
	display: block;
	bottom: 0px;
}

h1, h2 {
	font-size: 3em;
	text-transform: uppercase;
	font-weight: 800;
	max-width: 70%;
	line-height: 1em;
}

.caption .h2 {
	font-weight: 800 !important; 
}

h1 span {
	font-weight: 200;
}

section p, p {
	font-size: 1.2em;
	line-height: 1.6em;
}


section a {
	font-family: 'Montserrat', sans-serif;
	font-weight: 300;
	font-size: 1.3em;
	color: #000;
	display: block;
	position: relative;
	text-transform: uppercase;
}

section a::before {
	content: "• ";
}

footer {
	background-color: #000;
}

footer h2 {
	color: #fff;
}

footer p {
	font-size: 1.2em;
	font-weight: 300;
}

footer p a {
	color: #fff;
	text-decoration: none;
}

footer p a:hover {
	color: #fff;
	text-decoration: underline;
}

footer li {
	position: relative;
	clear:both;
}

footer li a {
	font-family: 'Montserrat', sans-serif;
	font-weight: 300;
	font-size: 1.3em;
	color: #000;
	display: block;
	position: relative;
	text-transform: uppercase;
	text-align: left;
}


#karte { height: 480px; }


.menu-toggle {
	width: 4em;
	background: rgba(0,0,0,.4) url("data:image/svg+xml,<svg viewBox='0 0 36 36' xmlns='http://www.w3.org/2000/svg'><line x1='3' y1='10' x2='33' y2='10' stroke='white' stroke-width='3' /><line x1='3' y1='17' x2='33' y2='17' stroke='white' stroke-width='3' /><line x1='3' y1='24' x2='33' y2='24' stroke='white' stroke-width='3' /></svg>") no-repeat center center;
	background-size: 90% 90%;
}

.menu-toggle:hover {
	width: 4em;
	background-color: rgba(0,0,0,1);
	background-size: 90% 90%;
}

.menu-toggle.active {
	width: 4em;
	background: rgba(0,0,0,0.7) url("data:image/svg+xml,<svg viewBox='0 0 36 36' xmlns='http://www.w3.org/2000/svg'><line x1='1' y1='35' x2='35' y2='1' stroke='white' stroke-width='4' /><line x1='1' y1='1' x2='35' y2='35' stroke='white' stroke-width='4' /></svg>") no-repeat center center;
	background-size: 90% 90%;
}

.anrufen {
	position: absolute;
	right: 44px;
	top: 26px;
	width: 300px;
	height: 32px;
	text-align: center;
	color: #fff;
	z-index: 1;
}

.anrufen:active {
	color: fff;
}

.anrufen:hover {
	color:#fff;
}

.sidebar-nav {
    position: absolute;
    top: 35%;
}

.sidebar-nav a {
	font-family: 'Montserrat', sans-serif;
	font-weight: 300;
	font-size: 2.4em;
}

.sidebar-nav li.menu-item.unter a {
	font-size: 1.3em;
	text-transform: uppercase;
}

.anwaeltinnen h2 {
	max-width: 100%;
	font-weight: 300;
}

.anwaeltinnen.content-section {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}



/* GUTENBERG */
.wp-block-image{
    padding-left: 15px;
}

#primary-menu li:nth-last-child(1) a,
#primary-menu li:nth-last-child(2) a{
    font-size: 1.3em;
    text-transform: uppercase;
}





.infos_va_list{
  max-width: 1110px;
  margin-inline: auto;
}
.infos_va_list .grid{
  display: grid;
}
.infos_va_list .card {
  background-color: unset;
  border: 0;
  border-radius: 0;
}
.infos_va_list .grid-item:not(:last-of-type) .card-text{
  border-bottom: 1px solid black;
  padding-bottom: 40px;
}
.single-post .entry-content{
  margin-block: 50px;
}







@media screen and (max-width: 1024px) {
	#mainlogo {
		max-width: 30em;
	}
	nav #mainlogo {
		max-width: 30em;
	}
	header p.adresse, #sidebar-wrapper p {
		font-size: 1em;
	}
	header .anw p {
		font-size: .8em;
	}
	h1, h2 {
		max-width: 100%;
		font-size: 2.2em;
	}
	.sidebar-nav a {
		font-size: 1.6em;
	}
}



@media (min-width: 1025px) {
  .masthead {
    height: 100vh;
  }
}

@media screen and (max-width: 990px) {
	nav #mainlogo {
		max-width: 30em;
		padding-left: 15px;
	}
	nav .adresse {
		margin-left: 15px;
	}
	nav .row > div:first-child {
		padding: 0 !important;
	}
	nav .row > div {
		padding-bottom: 0 !important;
	}
	h1, h2 {
		max-width: 100%;
		font-size: 1.8em;
	}
}


@media screen and (max-width: 768px) {
	#mainlogo {
		max-width: 20em;
	}
	header p.adresse, #sidebar-wrapper p {
		font-size: 1em;
	}
	h1, h2 {
		font-size: 2.4em;
	}
}

@media screen and (max-width: 512px) {
	#mainlogo {
		max-width: 17em;
		margin-top: 30px;
	}
	h1, h2 {
		font-size: 1.6em;
	}
	.startpage section a {
		font-size: 1em;
	}
}

@media screen and (max-width: 414px) {
	.sidebar-nav a {
		font-size: 1.2em;
	}
	.sidebar-nav li.menu-item.unter a {
		font-size: 0.8em;
	}
	nav #mainlogo {
		max-width: 15em;
		margin-top: 0px;
	}
	nav .adresse {
		max-height:15px;
	}
	nav .adresse svg {
		max-height:25px;
		margin-left: -10px;
	}
}

@media screen and (max-width: 375px) {
	nav .adresse {
		display: none;
	}
}


@media screen and (max-width: 360px) {
	#mainlogo {
		max-width: 15em;
		margin-top: 33px;
	}
	nav #mainlogo {
		max-width: 12em;
	}
	h1, h2 {
		max-width: 100%;
	}

	header .anw p {
		font-size: 1em;
	}
	.content-section p {
		font-size: 1em;
	}
	.content-section {
		padding-top: 1.5rem;
		padding-bottom: 1rem;
	}
	.sidebar-nav li.menu-item a {
		padding: 10px 15px;
	}
}


@media screen and (min-width: 1600px) {
	#mainlogo {
		max-width: 100em;
	}
	header p.adresse, #sidebar-wrapper p {
		font-size: 2em;
	}
	.anw {
	    bottom: 6%;
	}
	header .anw p {
		font-size: 1.6em;
	}
	header h3 {
		font-size: 1em;
	}
}
