@charset "UTF-8";

#projekt_main {
	background-color: #fff;
}

.updateMessage--project {
	padding: 8px 24px;
	background-color: var(--c-secondaryLightest);
  	border: 1px solid var(--c-secondaryDarker);
  	color: var(--c-secondaryDarker);
	border-radius: var(--b-radius-button);
	line-height: 1.4;
}

.projekt_container {
	max-width: var(--mw-container);
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	gap: 40px;
	flex-wrap: wrap;
}

.projekt_inhalt {
	width: 50%;
	height: 100%;
	margin-top: 20px;
	flex: 2;
	min-width: 60%;
}

.projekt_head {
	margin: 0 auto;
	max-width: var(--mw-container);
	background-color: #ffffff;
	flex: 0 0 100%;
	display: flex;
	justify-content: flex-start;
	align-items: flex-end;
	gap: 16px;
	flex-wrap: wrap;
}

.projekt_knoten {
	width: 30%;
	height: 200px;
	margin-left: 70%;
}

.projekt_titel {
	width: 100%;
}

.angebot_bezeichnung, .unternehmensangebot, .investition, .founded, .branche {
	margin-left: 8px;
}

/* Text */
@keyframes open {
	from {
		line-clamp: 4;
		-webkit-line-clamp: 4;
	}
	to {
		line-clamp: initial;
		-webkit-line-clamp: initial;
	}
}

@keyframes close {
	from {
		line-clamp: initial;
		-webkit-line-clamp: initial;
	}
	to {
		line-clamp: 4;
		-webkit-line-clamp: 4;
	}
}

.projekt_text {
	white-space: break-spaces;
}

.projekt_text__wrapper {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	animation: close 0.1s linear 0.1s forwards;
	/* show more button after the 4th line (4em) and every line has a line height of 1.6 */
	max-height: calc(5em * 1.6);
	overflow: hidden;
	transition: max-height 0.1s cubic-bezier(0.0, 0.0, 1.0, 1.0);
}

.projekt_text__wrapper.open {
	max-height: 300rem;
	transition: max-height 0.6s cubic-bezier(0.42, 0, 0.58, 1.0);
}

.projekt_text__wrapper.open {
	animation: open 0.1s linear 0s forwards;
}

.projekt_text__wrapper  > section {
	margin-top: 32px;
}

.projectdetails__readMore {
	display: flex;
	margin-left: auto;
	align-items: center;
	margin-top: 16px;
}

.projectdetails__readMore::after {
	content: "";
	border-right: 2px solid rgb(0, 0, 0);
	border-bottom: 2px solid rgb(0, 0, 0);
	height: 6px;
	width: 6px;
	display: inline-block;
	transform: rotate(45deg);
	margin-left: 8px;
	margin-top: -4px;
}

.projectdetails__readMore.open::after {
	transform: rotate(-135deg);
	margin-top: 4px;
}

.projekt_text ul {
	padding: 0;
}

.projekt_text ul li {
	list-style: none;
}

.projekt_view__content {
	height: 100%;
	margin-top: 20px;
	flex-basis: min(1000px, 40vw);
	flex-grow: 1;
	container-type: inline-size;
	container-name: content;
}

.projekt_view__content > :is(.inhalt_subblock, .inhalt_featureblock, .inhalt_block) {
	margin-bottom: 64px;
	scroll-margin: 40px;
}

.project__aside {
	position: sticky;
	top: 130px;
	padding-top: 2em;
	height: fit-content;
	flex-basis: 0;
	flex-grow: 1;
}



.projekt_sitebar_right {
	max-width: 450px;
	width: 100%;
	flex: 1;
	min-width: 250px;
}

.inhalt_block {
	background-color: white;
	box-sizing: border-box;
	box-shadow: var(--shadow-light);
	margin-bottom: 10px;
	padding: 30px; /*padding within needs to be increased by 15px (total padding: 30px)to concises the information, but is not reflecting*/
	border-radius: 10px;
}

.bewerben_bottom {
	margin: 10px 0;
	width: 100%; /* Aligning the width wrt the center info */
	cursor: pointer;
	display: block;
  	text-align: center;
}

.projekt_line {
	border: 1px solid #F4F4F4;
	margin: 16px 0;
}

figure {
	display: block;
	margin: 0 16px 0 0;
}

.registered_heading {
	margin-bottom: 16px;
}

.inhalt_featureblock{
	width: 100%;
    background-color: var(--c-secondaryLightest);
    border: 2px solid var(--c-secondaryLighter);
    border-radius: 16px;
	padding:1em 3em;
}


.mobile_image_quote_container {
	display: none;
}
.desktop_image_quote_container {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	flex-direction: row;
}
.quotes {
	z-index: 1;
	position: absolute;
	width: 44px;
	height: 44px;
	margin-left: -60px;
}
.zitatbild {
	width: 153px;
	height: 153px;
	border-radius: 16px;
	object-fit:cover;
	position: relative;
	margin-right: 16px;
}
.projekt_zitat_bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	flex-direction: column;
	align-content: flex-start;
}
.projekt_zitat_bild:before {
	margin-right: 16px;
}

.projekt_kosten p {
	margin: 0;
}

.projekt__h5 {
	display: inline-block;
	margin-right: 1ch;
}

.sitebar_right {
	background-color: white;
	box-sizing: border-box;
	box-shadow: var(--shadow-light);
	margin-bottom: 10px;
	margin-top: 20px;
	padding: 15px;
	border-radius: 10px;
	line-height: 1.7;
}

.inhalt_titel[data-nav-shorthand="Unternehmensbeschreibung"] {
	margin-bottom: 40px;
}

.sitebar_rightsmall {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.sitebar_rightsmall img {
	/*used instead of change the color of the icon */
	filter: contrast(0.45);
}

.sitebar_right_titelsmall {
	display: inline-block;
	margin-bottom: 0;
	margin-left: 8px;
	color: var(--c-greyDark);
	white-space: pre;
}

.company_table__subheading {
	margin-bottom: -16px;
	flex: 1 1 100%;
}

#company_table__first_info_cell, #company_table__second_info_cell {
	display: flex;
	flex-direction: column;
	row-gap: 24px;
}

.company_table__center_cell {
	flex: 1 1 100%;
}

.company_table__left_cell, .company_table__right_cell{
	flex: 1 1 calc(50% - 40px);
}


.future_proof, .expectation_met, .satisfaction, .recommendation {
	margin-bottom: 8px;
	display: flex;
	flex-wrap: nowrap;
}

.stars {
	margin: 0 0 16px;
}

.stars .icon {
	margin-right: 16px;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	width: 24px;
	height: 24px;
}
.expectation_met[style*='-1'], .expectation_met[style*='0'], .future_proof[style*='-1'], .future_proof[style*='0'], .satisfaction[style*='-1'], .satisfaction[style*='0'], .recommendation[style*='-1'], .recommendation[style*='0'] {
	display: none;
}


.icon--grey {
	stroke: var(--c-greyLight);
}

.icon--highlighted {
	stroke: var(--c-secondary);
}

.projekt_erstellen {
	color: white;
	background-color: var(--c-secondary);
	border: 2px solid var(--c-secondary);
	border-radius: var(--b-radius-button);
	font-weight: bold;
	margin-left: 20px;
    margin-top: 3px;
    display: inline-block;
    padding: 10px;
	font-family: "Lato";
}

.projekt_links a {
	color: var(--c-secondary);
	text-decoration: underline;
    display: block;
	max-width: 80vw;
	white-space: break-spaces;
	word-wrap: break-word;
}

.projekt_links a li {
	max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.projekt_software {
	margin: 0;
}

.tooltip .tooltiptext {
	visibility: hidden;
	width: 300px;
	background-color: var(--c-secondary);
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 9px;
	position: absolute;
	z-index: 1;
	/* top: -8px;
	left: 35px; */
	margin-left: 0;
	float: right;
	opacity: 0;
	transition: opacity 0.3s;
  }

  .tooltip .tooltiptext::before .tooltiptext::after  {
	content: "";
	position: absolute;
	top: 7px;
	float:right;
	/* right: 100%; */
	border-width: 12px;
	border-style: solid;
	border-color: transparent var(--c-secondary) transparent transparent;
  }

  .tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
  }

.bewerben {
	float: right;
	cursor: pointer;
}

.button_editieren {
	margin-top: 64px;
	cursor: pointer;
}

.projekt_id {
	margin-bottom: 16px;
}

.social_sharing{
	padding: 24px 0;
}

/* Social share for mobile only, on desktop hidden */
.social_sharing__mobile {
    display: none;
}

.si_lk--copy {
	/*will be shown with js*/
	display: none;
	position: absolute;
	width: fit-content;
	transform: translateX(-50%) translateY(2em);
	font-size: 14px;
}

.social_item {
	margin: 12px;
	display: inline-block;
	text-decoration: none;
    color: #5b5b5b;
    cursor: pointer;
	height: 25px;
	width: 25px;
	background: no-repeat center;
	background-size: cover;
}

.social_item--facebook {
	 background-image: url(../../icon/facebook.svg);
}

/* TODO #375
.social_item--linkedin {
	background-image: url(../../icon/linkedin.svg);
} */

.social_item--twitter {
	background-image: url(../../icon/x_twitter.svg);
}

.social_item--envelope {
	background-image: url(../../icon/mail.svg);
}

.social_item--link {
	background-image: url(../../icon/link.svg);
}

.social_item--share {
	background-image: url(../../icon/share-2.svg);
}

.inhalt_text_bold, .posten {
	font-weight: 600;
	margin-top: 7px;
}

.kategorie2 b {
    font-weight: initial;
}

.inhalt_featureblock>h3{
	text-align: center;
}

#company_table{
	display: flex;
	gap: 40px;
	flex-direction: row;
	flex-wrap: wrap;
}

.inhalt_bewerbungsfrist {
	background-color: var(--c-secondary);
	color: white;
	display: inline-flex;
    padding: 10px;
	margin-bottom: 16px;
}

.inhalt_bewerbungsfrist_von, .inhalt_bewerbungsfrist_bis {
	font-weight: 600;
}

.supporters__wrapper {
	display: flex;
	flex-wrap: wrap;
	row-gap: 40px;
}

.implementer, .centre {
	display: flex;
	flex-wrap: wrap;
	flex: 1;
	flex-basis: 50%;
}


.img_container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 50px;
}

.img_container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 50px;
}

.img_container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 50px;
}

.projekt_bild {
	display: flex;
	position: relative;
	overflow: hidden;
	border-radius: var(--b-radius-image--round);
	height: 100%;
	width: 100%;
}

.projekt_bild img {
	object-fit: cover;
	overflow: hidden;
	max-height: inherit;
    max-width: inherit;
	height: auto;
	width: 100%;
	cursor: pointer;
	aspect-ratio: 3/2;
}

.projekt_bild__attribution, .projekt_bildklein__attribution {
	position: absolute;
	z-index: 1;
	bottom: 0;
	right: 0;
	padding: 4px;
	background-color: rgba(0,0,0,0.5);
	color: #ccc !important;
}

.projekt_view__page {
	display:flex;
	justify-content: flex-start;
	max-width:var(--mw-container);
	margin: 0 auto;
	flex-direction: row;
	flex-wrap: wrap;
	column-gap: 150px;
	position: relative;
}
.projekt_bildklein {
    gap: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
	position: relative;
    overflow: hidden;

	max-height: 550px;
	height: 100%;
	width: 100%;
}

.projekt_bildklein__container {
	position: relative;
	display: flex;
	border-radius: var(--b-radius-image--round);
  	overflow: hidden;
}

img.projektbild_klein {
    border-radius: var(--b-radius-image--round);
	position: relative;
    object-fit: cover;
    overflow: hidden;
	max-height: 100%;
    max-width: 100%;
    height: auto;
    width: 100%;
	cursor: pointer;
	aspect-ratio: 3/2;
}

.projekt_bildklein--pitch {
	display: flex;
	margin-top: 16px;
	flex-wrap: wrap;
}

.projekt_bildklein--pitch img.projektbild_klein {
	height: 150px;
	aspect-ratio: 3/2;
	width: unset;
}

.hidden-thumbnail {
	display: none;
}

.project_view__image_section {
	position: relative;
	width: 100%;
}

#show-all-images {
	z-index: 1;
	position: absolute;
	right: 16px;
	padding: 8px 16px;
	background-color: var(--c-white);
	border: 2px solid var(--c-grey);
	color: var(--c-grey);
	bottom: 16px;
}

#show-all-images:hover {
	cursor: pointer;
	background-color: var(--c-greyLighter);
}



.umsetzer_name, .kompz_name {
	margin: 0;
}

.associatedPartners--pitch {
	display: flex;
  	flex-direction: column;
  	gap: 16px;
}

.umsetzerbild, .ubild, .kbild, .associatedPartners--pitch .associatedPartners__link {
	max-height: 55px;
	margin-top: 4px;
	margin-left: 8px;
}

.ubild img, .kbild img, .associatedPartners--pitch .associatedPartners__img {
	height: 100%;
	max-height: 55px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
}

.associatedPartners {
	display: grid;
	gap: 16px;
	margin-top: 16px;
	max-width: 300px;
	grid-template-columns: 1fr 1fr;
}

.associatedPartners > h5 {
	grid-column: 1 / -1;
}

.associatedPartners__img {
	height: auto;
	width: auto;
	max-height: 40px;
	max-width: 150px;
	object-fit: contain;
}

.projekt_ziele__list, .projekt_fragestellungen1, .projekt_fragestellungen2, .projekt_fragestellungen3, .projekt_lessions1, .projekt_lessions2, .projekt_lessions3 {
	margin: 0;
}

.inhalt_subblock ul li {
	margin-bottom: 16px;
}

.projekt_tag {
	display: inline-block;
	padding: 5px 10px 5px 5px;
  }

.contact__container {
	display: flex;
	background-color: var(--c-primaryLightest);
	border: 2px solid var(--c-primaryLighter);
	border-radius: var(--b-radius--big);
	padding: 40px 24px 24px 24px;
	flex-direction: column;
	align-items: center;
}

.contact__contactButton {
    display: inline-flex;
	align-items: center;
	margin-top: 24px;
}

.project__phases {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	margin: 0;
	border: 2px solid var(--c-greyLighter);
	padding: 16px 40px;
	border-radius: var(--b-radius-small);
}

.project__phases > *:first-child > span {
	font-weight: 700;
}

.pp__column {
	display: grid;
	grid-template-rows: repeat(4, 1fr);
}

.pp__column:first-child span {
	font-weight: 700 !important;
}

.pp__column > * {
	margin: 8px 0;
	align-self: center;
}

.pp__column:not(:first-child) > * {
	/* font-size: 14px; */
	text-align: center;
	position: relative;
	white-space: nowrap;
}

.pp__column .pp__timeline {
	align-self: flex-end;
}

.pp__column:not(.pp__column--active):not(:first-child):not(.caption) .pp__phase,
.pp__column:not(.pp__column--active):not(:first-child):not(.caption) .pp__costs {
	background-color: var(--c-greyLighter);
	border-top: 2px solid var(--c-greyLight);
	border-bottom: 2px solid var(--c-greyLight);
}

.pp__column:not(.pp__column--active):last-child .pp__phase,
.pp__column:not(.pp__column--active):last-child .pp__costs {
	background-color: var(--c-greyLighter);
	border-top-right-radius: var(--b-radius-small);
	border-bottom-right-radius: var(--b-radius-small);
	border-right: 2px solid var(--c-greyLight);
}

.pp__column--active .pp__phase {
	background-color: var(--c-secondaryLightest);
	border-top: 2px solid var(--c-secondaryLighter);
	border-bottom: 2px solid var(--c-secondaryLighter);
}

.pp__column--active.pp__column-a--first .pp__phase {
	border-left: 2px solid var(--c-secondaryLighter);
	border-top-left-radius: var(--b-radius-small);
	border-bottom-left-radius: var(--b-radius-small);
}

.pp__column--active.pp__column-a--first .pp__phase::before {
	content: url(../../icon/play-circle.svg);
	position: absolute;
	left: -12px;
	z-index: 1;
}

.pp__column--active.pp__column-a--last .pp__phase {
	border-right: 2px solid var(--c-secondaryLighter);
	border-top-right-radius: var(--b-radius-small);
	border-bottom-right-radius: var(--b-radius-small);
}

.pp__column--active.pp__column-a--last .pp__phase::after {
	content: url(../../icon/check-circle--cyan.svg);
	position: absolute;
	right: -12px;
	z-index: 1;
}

.pp__column--active .pp__costs {
	background-color: var(--c-secondaryLightest);
	border-top: 2px solid var(--c-secondaryLighter);
	border-bottom: 2px solid var(--c-secondaryLighter);
}

.pp__column--active.pp__column-a--first .pp__costs {
	border-left: 2px solid var(--c-secondaryLighter);
	border-top-left-radius: var(--b-radius-small);
	border-bottom-left-radius: var(--b-radius-small);
}

.pp__column--active.pp__column-a--last .pp__costs {
	border-right: 2px solid var(--c-secondaryLighter);
	border-top-right-radius: var(--b-radius-small);
	border-bottom-right-radius: var(--b-radius-small);
}

.pp__column:not(:first-child) .pp__phase,
.pp__column:not(:first-child) .pp__costs {
	padding: 8px;
}

.pp__costs {
	grid-row: 4;
}

.pp__note {
	color: var(--c-greyLight);
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 8px auto 0;
}

.pp__note > svg:nth-child(1) {
	transform: scale(0.6);
}

.pp__legend {
	display: flex;
	column-gap: 40px;
	grid-row: 2;
	grid-column: 1 / -1;
	justify-content: center;
	margin-top: 40px;
	flex-wrap: wrap;
}

.pp__hint {
	grid-row: 3;
	grid-column: 1 / -1;
	margin: 16px auto 0;
}

.legend__scope {
	height: 24px;
	width: 48px;
	background-color: var(--c-secondaryLightest);
	border: 2px solid var(--c-secondaryLighter);
	border-radius: var(--b-radius-small);
}

.legend__future {
	height: 24px;
	width: 48px;
	background-color: var(--c-greyLighter);
	border: 2px solid var(--c-greyLight);
	border-radius: var(--b-radius-small);
}

.legend__ele {
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: 8px;
}

.legend__ele figure {
	margin: 0;
}

.pp__parties > .pp__party:not(:last-child) {
	margin-right: 4px;
}

.pp__party::after{
	content: attr(data-teamsize);
}






/*TODO remove these elements instead use contents */
.projekt, .projekt_steckbrief {
	display: contents;
}

/******Project Results*******/
table.project__results {
	border: 2px solid var(--c-secondaryLighter);
	border-radius: var(--b-radius);
	border-spacing: 0;
	table-layout: fixed;
	width: 100%;
	overflow: hidden;
}

.project__results thead tr {
	background-color: var(--c-secondaryLightest);
}

.project__results tbody th, .project__results thead th {
	text-align: left;
	padding-left: 24px;
}

.project__results tbody th, .project__results thead th {
	text-align: left;
	word-break: break-word;
	color: var(--c-greyDark);
}

.project__results tr > * {
	padding: 16px 8px;
}

.project__results tr > *:not(:first-child) {
	border-left: 2px solid var(--c-secondaryLighter);
}

.project__results tbody th, .project__results tbody td {
	border-top: 2px solid var(--c-secondaryLighter);
}

.project__results tbody td > a {
	font-size: inherit;
	margin-right: 1ch;
}

.project__results thead td, .project__results tbody th {
	width: 120px;
}
.pp__column.pp__phase--disabled{
	/*background-color: var(--c-secondaryLightest);
    filter: grayscale(1);
	border-radius:1em;*/
}

.initialSituation tbody th, thead th {
	text-align: left;
}

table.initialSituation {
	border-collapse: collapse;
}

.initialSituation tr > * {
	padding: 16px 8px;
}

.initialSituation tr > *:not(:first-child) {
	border-left: 1px solid var(--c-greyLight);
}

.initialSituation tbody > tr:not(:first-child) {
	border-top: 1px solid var(--c-greyLight);
}

.initialSituation tbody td:not(:last-child) {
	text-align: center;
}

#hardware_software div {
	display: flex;
	gap: 32px;
}

#hardware_software > div > span{
	flex: 1;
}

#software-list, #hardware-list {
	padding: 0;
	margin: 0;
	flex: 3;
}

#company_table__second_cell {
	margin-top: -24px;
}


/*TODO remove these elements instead use contents */
.projekt, .projekt_steckbrief {
	display: contents;
}

/******Project Results*******/
#phase-results > h4 {
	margin-top: 16px;
}

#phase-results > details {
	margin-top: 32px;
}

.phase {
	border-bottom: 1px solid var(--c-greyLight);
}

.phase summary {
	display: flex;
	align-items: center;
	padding-left: 40px;
}

.phase summary h4 {
	color: var(--c-greyDark);
}

.phase:hover summary {
	cursor: pointer;
}

.phase:hover summary h4 {
	color: var(--c-greyDarker);
}

.phase[open] summary {
	border-bottom: 2px solid var(--c-black);
}

.phase summary::after {
	content: url(../../icon/chevron-left.svg);
	height: 24px;
	width: 24px;
	display: inline-block;
	margin-left: auto;
	transform: rotate(-90deg);
}

.phase[open] summary::after {
	transform: rotate(90deg);
}

.project__results thead td, .project__results tbody th {
	width: 120px;
}
.pp__column.pp__phase--disabled{
	background-color: var(--c-secondaryLightest);
    filter: grayscale(1);
	border-radius:1em;
}

#projekt_text {
	container-type: inline-size;
	container-name: phase-content;
}

.phase__content {
	display: grid;
	gap: 40px;
	margin: 40px;
	grid-template-columns: repeat(3, 1fr);
	min-height: 250px;
	justify-content: center;
}

.card__imageWrapper {
	height: 180px;
	border: 1px solid var(--c-greyLight);
	background-color: var(--c-greyLighter);
	border-radius: var(--b-radius-small);
	margin-bottom: 16px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.card__imageWrapper.isVideoLink::after {
	content: url(../../icon/play-circle--white.svg);
	position: absolute;
	transform: scale(2);
}

.card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card__globe {
	height: 60px;
}

.card__linkAsText {
	position: absolute;
	bottom: 8px;
	left: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card__linkAsText::before {
	content: url(../../icon/link.svg);
	margin-right: 8px;
	height: 13px;
	width: 13px;
	display: inline-flex;
}

#demo h5 {
	display: inline;
}

.project_time {
	margin-top: -24px;
	margin-bottom: 64px;
}

.project_time--pitch {
	margin-top: 0;
	margin-bottom: 16px;
}

#project-dates {
	color: var(--c-grey);
}

.method__heading {
	display: inline-block;
}

#methods-list {
	margin: 0;
	padding: 0;
	display: inline-flex;
	list-style: none;
	flex-wrap: wrap;
}

.similarProject__container {
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
	margin-top: 48px;
	overflow: auto;
	justify-content: space-between;
}

#similarProjects {
	border-top: 2px solid var(--c-greyLight);
  	padding-top: 16px;
}

.similarProject {
	text-decoration: none;
	display: flex;
	flex-direction: column;
	min-width: 345px;
}

.similarProject__image {
	height: 221px;
	border-radius: var(--b-radius-small);
	object-fit: cover;
	width: 100%;
}

.similarProject__heading {
	margin-top: 16px;

}
.similarProject__tags {
	margin: auto 0 0;
	padding: 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	color: var(--c-grey);
}

.similarProject__tags .projekt_tag {
	margin-bottom: 0;
	padding: 4px;
	text-decoration: none;
}

@container phase-content (width <= 900px) {
	.phase__content {
		grid-template-columns: repeat(2, 1fr);
	}
}

@container phase-content (width <= 600px) {
	.phase__content {
		grid-template-columns: repeat(1, 1fr);
	}
}

@container content (width <= 900px) {
	.inhalt_featureblock {
		padding: 16px 24px;
	}

	.sitebar_rightsmall > span:is(.unternehmensname, .address, .branche, .founded, .mitarbeiter_zahl, .budget, .unternehmensangebot, .umsatz) {
		flex-basis: 100%;
		padding-left: 32px;
	}
}

@media (width <= 1200px) {
    .project__aside {
		display: none;
	}
	.social_sharing__mobile {
		display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		align-items: center;
	}
	.social_sharing__mobile .social_item {
		margin: 0 8px;
	}
}

@media screen and (width <= 900px) {
	.social_sharing {
		display: none;
	}
}

@media only screen and (600px < width <= 900px) {
	#initialSituation {
		width: calc(100vw - 32px);
	}

	.initialSituation__wrapper {
		overflow-x: auto;
		position: relative;
	}

	.initialSituation tbody th, .initialSituation thead td {
		min-width: 150px;
		position: sticky;
		left: 0;
		background-color: #fff;
	}

	.initialSituation tbody tr:not(:first-child) th {
		box-shadow: 1px -1px 0 var(--c-greyLight);
    }

	.initialSituation thead tr:first-child td {
		box-shadow: 1px 0 0 var(--c-greyLight);
    }

	.initialSituation tbody tr:first-child th {
		box-shadow: 1px 0 0 var(--c-greyLight);
    }
}

@media (width <= 600px) {
	.img_container {
		display: block;
	}

	.projekt_bildklein {
		display: none;
	}

	.projekt_bild img {
		height: auto;
	}

	table.project__results {
		width: unset;
		border-radius: unset;
	}

	.project__results__wrapper {
		overflow-x: auto;
		position: relative;
		width: calc(100vw - 32px);
	}

	.project__results tbody th, thead td {
		min-width: 100px;
		position: sticky;
		left: 2px;
		background-color: #fff;
	}

	.project__results tbody tr:not(:first-child) th::after {
		right: -2px;
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		width: 2px;
		background-color: var(--c-secondaryLighter);
	}

	.project__results tbody tr:not(:first-child) th::before {
		left: -2px;
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		width: 2px;
		background-color: var(--c-secondaryLighter);
	}

	.project__results thead tr:first-child td::after {
		right: -2px;
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		width: 2px;
		background-color: var(--c-secondaryLighter);
	}

	.project__results thead tr:first-child td::before {
		left: -2px;
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		width: 2px;
		background-color: var(--c-secondaryLighter);
	}

	.project__results tbody tr:first-child th::after {
		right: -2px;
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		width: 2px;
		background-color: var(--c-secondaryLighter);
	}

	.project__results tbody tr:first-child th::before {
		left: -2px;
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		width: 2px;
		background-color: var(--c-secondaryLighter);
	}

	#initialSituation {
		width: calc(100vw - 32px);
	}

	.initialSituation__wrapper {
		overflow-x: auto;
		position: relative;
	}

	.initialSituation tbody th, .initialSituation thead td {
		min-width: 150px;
		position: sticky;
		left: 0;
		background-color: #fff;
		white-space: break-spaces;
		word-break: break-word;
	}

	.initialSituation tbody tr:not(:first-child) th {
		box-shadow: 1px -1px 0 var(--c-greyLight);
    }

	.initialSituation thead tr:first-child td {
		box-shadow: 1px 0 0 var(--c-greyLight);
    }

	.initialSituation tbody tr:first-child th {
		box-shadow: 1px 0 0 var(--c-greyLight);
    }

	.company_table__right_cell {
		margin-top: -16px;
	}

	#company_table__second_rating_cell {
		margin-top: -24px;
	}

	.desktop_image_quote_container {
		display: none;
	}

	.mobile_image_quote_container {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		align-items: center;
		flex-direction: row;
	}

	.quotes {
		z-index: 1;
		position: absolute;
		width: 25px;
		height: 25px;
		margin-top: -5px;
		margin-left: 62px;
	}
	.zitatbild {
		width: 88px;
		height: 88px;
		border-radius: 16px;
		object-fit:cover;
		position: relative;
	}
	.projekt_zitat_bottom {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		align-items: flex-start;
		flex-direction: column;
		align-content: flex-start;
		width: calc(25% + 15vw);
	}
	.projekt_zitat_bild:before {
		margin-right: 16px;
	}

	.project__phases {
		grid-template-columns: 1fr !important;
		padding: 8px;
	}

	.project__phases > *:first-child {
		margin-bottom: 16px;
	}

	.project__phases > *:first-child > span {
		font-size: 0.875rem;
	}

	.pp__column {
		grid-template-columns: 25% 25% 25% 25%;
		grid-template-rows: unset;
	}

	.project__phases .pp__column:first-child :is(.pp__timeline, .pp__phase, .pp__parties, .pp__costs) {
		font-weight: 600 !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		text-align: center;
	}

	.pp__costs {
		grid-row: unset;
	}

	.pp__column .pp__timeline {
		align-self: center;
	}

	.pp__column--active .pp__phase {
		border-bottom: unset;
		border-top: unset;
		border-right: 2px solid var(--c-secondaryLighter);
		border-left: 2px solid var(--c-secondaryLighter);
	}

	.pp__column--active:not(:last-child).pp__column-a--last .pp__phase {
		border-bottom: 2px solid var(--c-secondaryLighter);
		border-bottom-right-radius: unset;
		border-bottom-left-radius: unset;
		border-top-right-radius: unset;
		display: flex;
		justify-content: center;
	}

	.pp__column--active:last-child.pp__column-a--last .pp__phase {
		border-bottom: 2px solid var(--c-secondaryLighter);
		border-bottom-right-radius: var(--b-radius-small);
		border-bottom-left-radius: var(--b-radius-small);
		border-top-right-radius: unset;
		display: flex;
		justify-content: center;
	}

	.pp__column--active.pp__column-a--first .pp__phase {
		border-top: 2px solid var(--c-secondaryLighter);
		border-bottom-left-radius: 0;
		border-top-right-radius: var(--b-radius-small) !important;
		display: flex;
		justify-content: center;
	}

	.pp__column:not(.pp__column--active):last-child .pp__phase,
	.pp__column:not(.pp__column--active):last-child .pp__costs {
		border-top-right-radius: unset;
		border-bottom-left-radius: var(--b-radius-small);
		border-bottom-right-radius: var(--b-radius-small);
		border-right: 2px solid var(--c-greyLight);
	}

	.pp__column:not(.pp__column--active):not(:first-child):not(.caption) .pp__phase,
	.pp__column:not(.pp__column--active):not(:first-child):not(.caption) .pp__costs {
		border-top: unset;
		border-left: 2px solid var(--c-greyLight);
		border-right: 2px solid var(--c-greyLight);
		border-bottom: unset;
	}

	.pp__column:not(.pp__column--active):last-child:not(.caption) .pp__phase,
	.pp__column:not(.pp__column--active):last-child:not(.caption) .pp__costs {
		border-bottom: 2px solid var(--c-greyLight);
	}


	.pp__column--active.pp__column-a--first .pp__phase::before {
		left: unset;
		top: -12px;
	}

	.pp__column--active.pp__column-a--last .pp__phase::after {
		bottom: -12px;
		right: unset;
	}

	.pp__column > * {
		margin: 0;
	}

	.pp__column:nth-child(2) {
		margin-top: 8px;
	}

	.pp__column:not(:first-child) .pp__phase, .pp__column:not(:first-child) .pp__costs {
		padding: 0;
		display: flex;
		justify-content: center;
		height: 50px;
		align-items: center;
		word-wrap: anywhere;
		white-space: pre-wrap;
	}

	.pp__column--active .pp__costs {
		border-right: 2px solid var(--c-secondaryLighter);
		border-bottom: unset;
	}

	.pp__column--active:not(:last-child).pp__column-a--last .pp__costs {
		border-bottom: 2px solid var(--c-secondaryLighter);
		border-bottom-right-radius: unset;
		border-bottom-left-radius: unset;
		border-top-right-radius: unset;
	}

	.pp__column--active:last-child.pp__column-a--last .pp__costs {
		border-bottom: 2px solid var(--c-secondaryLighter);
		border-bottom-right-radius: var(--b-radius-small);
		border-bottom-left-radius: var(--b-radius-small);
		border-top-right-radius: unset;
	}

	.pp__column--active.pp__column-a--first .pp__costs {
		border-top: 2px solid var(--c-secondaryLighter);
		border-left: 2px solid var(--c-secondaryLighter);
		border-top-left-radius: var(--b-radius-small);
		border-bottom-left-radius: unset;
		border-top-right-radius: var(--b-radius-small) !important;
	}

	.pp__column--active .pp__costs {
		border-left: 2px solid var(--c-secondaryLighter);
		border-bottom: unset;
		border-top: unset;
	}

	.pp__legend {
		grid-row: 998;
		row-gap: 8px;
		justify-content: flex-start;
		margin-left: 10%;
		flex-direction: column;
	}

	.legend__ele {
		justify-content: flex-start;
	}

	.pp__hint {
		grid-row: 999;
	}

	table.project__results {
		width: unset;
		border-radius: unset;
	}

	.project__results__wrapper {
		overflow-x: auto;
		position: relative;
		width: calc(100vw - 32px);
	}

	.project__results tbody th, thead td {
		min-width: 100px;
		position: sticky;
		left: 2px;
		background-color: #fff;
	}

	.project__results tbody tr:not(:first-child) th::after {
		right: -2px;
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		width: 2px;
		background-color: var(--c-secondaryLighter);
	}

	.project__results tbody tr:not(:first-child) th::before {
		left: -2px;
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		width: 2px;
		background-color: var(--c-secondaryLighter);
	}

	.project__results thead tr:first-child td::after {
		right: -2px;
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		width: 2px;
		background-color: var(--c-secondaryLighter);
	}

	.project__results thead tr:first-child td::before {
		left: -2px;
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		width: 2px;
		background-color: var(--c-secondaryLighter);
	}

	.project__results tbody tr:first-child th::after {
		right: -2px;
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		width: 2px;
		background-color: var(--c-secondaryLighter);
	}

	.project__results tbody tr:first-child th::before {
		left: -2px;
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		width: 2px;
		background-color: var(--c-secondaryLighter);
	}
}

body.isInIframe lightbox-component#lightbox::part(dialog) {
    margin-top: 250px;
}

body.isInIframe lightbox-component#lightbox::part(content) {
   height: unset;
}