/* poppins-200 - 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: 'Poppins';
	font-style: normal;
	font-weight: 200;
	src: url('../webfonts/poppins-v20-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* poppins-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: 'Poppins';
	font-style: normal;
	font-weight: 400;
	src: url('../webfonts/poppins-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* poppins-700 - 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: 'Poppins';
	font-style: normal;
	font-weight: 700;
	src: url('../webfonts/poppins-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  

@keyframes nav-animation {
    from {transform: translateY(-100%);}
    to {transform: translateY(0);}
}


:root {
    --primary-color: #0071b5;
    --primary-light-color: #578eb3;
    --secondary-color: #ee6280;
	--primary-text-color: #222221;
    --primary-nav-color: #545452;
    --background-color: #edf2f5;
    --box-border-color: #5454522a;
}

.bg-white {
    background-color: white;
}

.bg-background {
    background-color: var(--background-color);
}

.background-primary {
    background-color: var(--primary-color);
}

.border-top-box {
    border-top: 1px solid var(--box-border-color);
}

.border-bottom-box {
    border-bottom: 1px solid var(--box-border-color);
}

.m-b-60 {
	margin-bottom: 60px;
}

a {
    color: var(--primary-color);
}

h1 {
	font-size: 1.75rem;
}

h2 {
	font-size: 1.5rem;
}

h3 {
	font-size: 1.3rem;
}

h4 {
	font-size: 1.2rem;
}

h5 {
	font-size: 1.1rem;
}

h6 {
	font-size: 1.05rem;
}

p {
	text-align: left;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-top: 30px;
    margin-bottom: 7.5px;
}

p {
	margin-bottom: 1.25rem;
	text-align: justify;
	overflow-wrap: break-word;
  	word-wrap: break-word;

  	-ms-word-break: break-all;
  	/* This is the dangerous one in WebKit, as it breaks things wherever */
  	word-break: break-all;
  	/* Instead use this non-standard one: */
  	word-break: break-word;

  	/* Adds a hyphen where the word breaks, if supported (No Blink) */
  	-ms-hyphens: auto;
 	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}

.page-heading {
    z-index: 2;
    position: relative;
    margin-bottom: 30px;
    margin-top: 75px;
    color: var(--primary-color);
}

/*.page-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(2.5rem - 5px);
    height: 5px;
    width: 5px;
}

.page-heading::before {
    z-index: -1;
    content: '';
    position: absolute;
    left: -25px;
    top: calc(2.5rem -12.5rem);
    height: 20px;
    width: 20px;
    opacity: 1;
    background-image: url('../images/comment-solid.png');
    background-size: contain;
}

.page-heading::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 0;
    height: 100%;
    width: 3px;
    border-radius: 3px;
    opacity: 0.2;
    background-color:#ee6280;
}*/

body {
    /*background-color: var(--background-color);*/
    color: var(--primary-text-color);
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
}


/*----------Header----------*/

.top-mobile-menu-container {
		display: none;
}

.pre-header-container {
    padding: 7.5px 0 0;
    text-align: right;
    font-size: 0.9rem;
}

.pre-header-container .pre-header-row {
    padding-bottom: 7.5px;
}

.pre-header-container i.fas, i.fa-solid {
    color: var(--primary-color);
}

.pre-header-container a {
	color: var(--primary-text-color);
}

.header-container {
    padding-top: 60px;
    padding-bottom: 60px;
}

.header-image {
    width: 100%;
    max-width: 100%;
}

.logo-sub {
    text-align: right;
    margin-bottom: 0;
}

.logo-sub p {
    padding: 0;
    margin: 0;
}

table td {
	padding: 7.5px 15px;
}


/*----------Navigation----------*/

.mobile-menu-container {
	display: none;
}

.sticky-nav-wrapper {
    height: 58.4px;
    overflow: visible;
}

#navbar {
	z-index: 5;
}

#navbar.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    transform: translateY(-100%);
    animation-name: nav-animation;
    animation-duration: 0.6s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.navbar {
    padding: 0;
	color: var(--primary-nav-color);
}

.navbar-nav {
    justify-content: space-between;
}

.navbar-nav, .navbar-nav .nav-item {
    width: 100%;
}

.navbar-light .navbar-nav .nav-item.active .nav-link::before {
    position: absolute;
    z-index: 0;
    content: '';
    left: 0;
    bottom: 0;
    height: 5px;
    width: 100%;
    opacity: 1;
    background-color: var(--primary-color);
}

.navbar-light .navbar-nav .nav-item.active .nav-link:hover::before {
    height: 7.5px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    z-index: 2;
    padding: 15px 30px;
    color: var(--primary-text-color);
    text-align: center;
}

.navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    z-index: 0;
    content: '';
    left: 0;
    bottom: 0;
    height: 0px;
    width: 100%;
    opacity: 0.25;
    background-color: var(--primary-color);
    transition: height 0.15s ease-out;
}

.navbar-light .navbar-nav .nav-link:hover::before {
    height: 5px;
}

.navbar-light .navbar-nav .nav-link::after {
    position: absolute;
    content: '';
    right: -0.5px;
    top: 0;
    height: 100%;
    width: 1px;
    opacity: 0.075;
    background: linear-gradient(180deg, rgba(0,0,0,0) 20%, var(--primary-text-color) 40%, var(--primary-text-color) 50%, var(--primary-text-color) 60%, rgba(0,0,0,0) 80%);
}

.navbar-light .navbar-nav .nav-item:last-of-type .nav-link::after {
    visibility: hidden;
}

.navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show > .nav-link {
    font-weight: bold;
}

/*----------Startseite----------*/

section img {
    border-radius: 10px;
}

.content {
    padding: 0 30px 30px;
}

.last-container {
	margin-bottom: 60px;
}


/*.content {
    font-size: 1.2rem;
}*/

.bordered-box {
    padding: 15px;
    border: 3px solid #343432;
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 2px;
}

.bordered-box p {
    margin: 0;
}

.praxis-block {
    /*background-color: #fafafa;*/
	z-index: 0;
	position: relative;
    margin-bottom: 120px;
	margin-left: 15px;
	margin-right: 15px;
	flex-wrap: nowrap;
	justify-content: flex-start !important;
	min-height: 500px;
}

.praxis-block::before {
	z-index: 1;
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	border-radius: 10px;
	width: calc(100% / 3 * 2);
	height: 100%;
	background-image: url("../images/praxis.jpg");
	background-size: cover;
	background-position: center;
}

.praxis-block .praxis-block-text {
	z-index: 2;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    /*font-style: italic;*/
}


.praxis-block .praxis-block-text p {
    margin-bottom: 0;
	font-size: 1.2rem;
	padding: 60px;
	/*transform: translateX(calc(-25% - 30px));*/
	box-shadow: 0 0 5px 1px rgba(0,0,0,0.1);
	text-align: left;
	border-radius: 10px;
	background: linear-gradient(0deg, var(--primary-color) 30px,var(--background-color) 30px);
}


.special-feature-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 30px 0 15px;
}

.special-feature-container .special-feature {
    width: 250px;
    border-radius: 10px;
    text-align: center;
    color: white;
}

.special-feature-container .special-feature .special-feature-icon {
    font-size: 5rem;
}

.special-feature-container .special-feature .special-feature-text {
    padding: 0 0 30px;
    font-weight: bold;
    font-size: 1rem;
}

/*----------Kontakt----------*/
.container.contact, .container.times {
	background-color: #fafafa;
	border-radius: 10px;
	padding: 15px;
	max-width: 90%;
}

.container.contact .row, .container.times .row {
	padding: 7.5px 0;
}

.container.contact .row div:nth-of-type(2) a {
	color: var(--primary-text-color);
}

.container.contact .row div:nth-of-type(2) i {
	color: var(--primary-color);
}

/*----------Mitarbeiter----------*/
.employees h2 {
	margin: 0;
}

.employees hr {
	margin: 30px 0 60px;
}

.curriculum .curriculum-date {
	font-weight: bold;
	color: var(--primary-color);
	padding-top: 30px;
	padding-bottom: 7.5px;
}

.curriculum .curriculum-activity {
	background-color: #fafafa;
	padding: 15px;
	border-radius: 10px;
}

/*----------Leistungsspektrum----------*/
.services-heading-container {
	padding: 15px;
	background-color: var(--primary-color);
	color: white;
	border-radius: 10px;
	display: flex;
	align-items: center;
	cursor: pointer;
}

.services-heading-container h3.services {
	width: calc(100% - 45px);
	margin: 0;
	font-size: 1.5rem;
}

.services-heading-container .icon-container {
	display: flex;
	justify-content: center;
	width: 45px;
	font-size: 1.75rem;
	transition: transform 0.6s ease-out;
}

.expanded .services-heading-container .icon-container {
	transform: rotate(180deg);
}

.service ul.services-container {
	list-style-type: none;
	padding: 0;
	height: 0;
	overflow: hidden;
	transition: height 0.6s ease-out;
}

.service {
	margin: 15px 0;
}

/*.service.expanded ul.services-container {
	max-height: 9999px;
}*/

ul.services-container li {
	background: linear-gradient(90deg, var(--primary-light-color) 15px, #fafafa 15px);
	border-radius: 10px;
	padding: 15px 30px 15px 30px;
	margin: 7.5px 0;
}

ul.services-container li:nth-of-type(2n) {
	background: linear-gradient(90deg, #fafafa calc(100% - 15px), var(--primary-light-color) calc(100% - 15px));
}

footer {
    padding: 15px 0;
    background-color: var(--background-color);
    font-size: 0.9rem;
}

footer .imprint {
    text-align: right;
}

@media screen and (max-width: 992px) {
	.navbar-light .navbar-nav .nav-link {
	  padding: 7.5px 15px;
	  font-size: 1rem;
	}

	.neustifter-design-logo-mobil {
		margin-top: 10px;
		max-width: 90%;
		height: auto;
	}
}

@media screen and (max-width: 768px) {
	
	body {
		z-index: 0;
		font-size: 1rem;
	}
	
	body::before {
		content: '';
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 1;
		background-color: var(--primary-color);
		opacity: 0;
		pointer-events: none;
		transition: 0.3s opacity ease-out;
	}
	
	body.mobile-open {
		overflow: hidden;
	}
	
	body.mobile-open::before {
		opacity: 1;
		z-index: 2;
	}

	header {
		border-bottom: 1px solid var(--box-border-color);
	}
	
	h1 {
		font-size: 1.75rem;
	}
	
	h2 {
		font-size: 1.5rem;
	}
	
	h3 {
		font-size: 1.3rem;
	}
	
	h4 {
		font-size: 1.2rem;
	}
	
	h5 {
		font-size: 1.1rem;
	}
	
	h6 {
		font-size: 1.05rem;
	}
	
	p {
		text-align: left;
	}
	
	.page-heading {
		margin-top: 30px;
		margin-bottom: 0;
	}
	
	/*----------Header----------*/
	
	.pre-header-container {
		display: none;
	}
	
	.top-mobile-menu-container {
		display: flex;
		position: fixed;
		padding: 7.5px 15px;
		text-align: right;
		width: 100%;
		z-index: 99;
		background-color: var(--primary-color);
		align-items: center;
	}
	
	.mobile-pre-header {
		padding: 7.5px 15px;
		width: calc(100% - 45px);
		text-align: left;
		color: white;
		font-size: 0.9rem;
	}
	
	.mobile-pre-header a {
		color: white;
	}
	
	.header-container {
		padding-top: 75px;
		padding-bottom: 30px;
	}
	
	/*----------Navigation----------*/

	
	.mobile-menu-container {
		display: block;
		padding: 7.5px 0 15px;
		text-align: right;
	}
	
	.mobile-menu-container .close-mobile-menu-button, .top-mobile-menu-container .open-mobile-menu-button{
		padding: 7.5px;
		background-color: #fafafa;
		border-radius: 10px;
		display: inline-block;
		font-size: 20px;
		width: 45px;
		text-align: center;
		cursor: pointer;
	}
	
	.navbar-light .navbar-nav .nav-item {
		padding: 7.5px 0;
	}
	
	.navbar-light .navbar-nav .nav-link {
		font-size: 1.1rem;
		padding: 7.5px 0px;
		border-radius: 10px;
		transition: 0.3s background ease-out, 0.3s color ease-out;
	}
	
	.navbar-light .navbar-nav .nav-item .nav-link::before {
		display: none;
	}
	
	.navbar-light .navbar-nav .nav-item .nav-link:hover {
		background-color: rgba(0,113,181,0.9);
		color: rgba(255,255,255,0.9)
	}
	
	.navbar-light .navbar-nav .nav-item.active .nav-link {
		background-color: var(--primary-color);
		color: white;
		
	}
	
	.navbar-light .navbar-nav .nav-item.active .nav-link::before {
		display: none;
	}

	.navbar-light .navbar-nav .nav-item.active .nav-link:hover::before {
		display: none;
	}
	
	.navbar-light .navbar-nav .nav-link::after {
		display: none;
	}
	
	.navbar {
		border: 2px solid #fafafa;
		padding: 7.5px;
		border-radius: 10px;
		background-color: #fafafa;
	}
	
	.sticky-nav-wrapper {
		height: auto;
		overflow: visible;
	}

	#navbar {
		position: fixed;
		padding: 0;
		height: 100vh;
		width: 100vw;
		z-index: 100;
		top: 0;
		left: 0;
		background: white;
		  background-color: white;
		overflow-x: hidden;
		transform: translateX(-100%);
		transition: 0.3s transform ease-out;
	}
	
	#navbar.mobile-open {
		transform: translateX(0);
	}

    .header-image {
        margin: 15px 0;
        max-width: calc(100% + 30px);
        margin-left: -15px;
        margin-right: -15px;
    }
	
	/*----------Startseite----------*/
	
	
	.praxis-block {
		flex-wrap: wrap;
		justify-content: center;
		margin-bottom: 60px;
	}
	
	.praxis-block::before {
		height: calc(100% / 3 * 2);
		width: 100%;
	}
	
	.praxis-block .praxis-block-text {
		padding: 0 15px;
	}
	
	.praxis-block .praxis-block-text p {
		font-size: 1rem;
		padding: 60px 30px;
	}
	
	.praxis-block .praxis-block-img {
		height: 300px;
	}

	.special-feature-container {
		justify-content: center;
    	padding: 30px 0;
	}
	
	.special-feature-container .special-feature .special-feature-text {
    	padding: 0 0 15px;
	}

    .box {
        padding: 15px 15px;
        margin: 0 0;
        border: none;
        border-radius: 0;
    }

	/*---- Leistungsspektrum -----*/

	.services-heading-container h3.services {
		width: calc(100% - 45px);
		margin: 0;
		font-size: 1.3rem;
	}
	
	/*---- Impressum -----*/

	.neustifter-design-logo-mobil {
		max-width: 90%;
		height: auto;
	}

	/*---- Footer -----*/

    footer, footer .imprint {
        text-align: center;
    }
}