/*
Theme Name: CH Studio

* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

:root {
	--color-smoke: #f5f5f5;
}




@font-face {
	font-family: "ABCDiatypeRoundedMono-Regular";
	src: url("assets/fonts/ABCDiatypeRoundedMono-Regular.woff2") format("woff2"),
		url("assets/fonts/ABCDiatypeRoundedMono-Regular.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}


* {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.mobile {
	display: none!important;
}

.desktop {
	display: block;
}

.desktop-only {
	display: block;
}

.mobile-only {
	display: none;
}

.mobile img {
	display: none;
}

html {
	font-size: 16px;
	line-height: 1.1;
}

body {
	background: #f5f5f5;
	margin: 0;


	--posts-breite: calc(100vw - 40px);
	--post-breite-querformat: calc(var(--posts-breite) / 4.444444444444);


	--post-breite-querformat-mit-rand: calc(var(--post-breite-querformat) - 10px);


	--post-breite-hochformat: calc(var(--posts-breite) / 10);
	--post-breite-hochformat-mit-rand: calc(var(--post-breite-hochformat) - 4.4444444px);


	letter-spacing: 0.035em;


	--swiper-theme-color: #FF9605;

}

a {
	text-decoration: none;
	color: black;

}

.content p a {
	border-bottom: 1px solid;
	color: #000;
}

.content p a:hover {
	border-bottom-color: transparent;
	color: #000;

}

.page-wrap {
	min-height: 100vh;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}

.monospace {
	font-family: "ABCDiatypeRoundedMono-Regular";
	font-size: 13px;
	letter-spacing: 0.01em;
}


/*   header */

.header {
	padding: 20px;
	padding-bottom: 10px;
}

.header__seitentitel {
	font-family: "ABCDiatypeRoundedMono-Regular";
	font-weight: normal;
	font-size: 13px;
	letter-spacing: 0.025;
	color: #808080;
	margin: 0;
	margin-bottom: 0;
	padding-bottom: 0;

	position: relative;
	z-index: 11;
}

.single .header__seitentitel a {
	color: #808080;
}


.header__text {

	font-family: serif;
	font-size: 25px;
	line-height: 30px;
	margin-top: 10px;
}

.header__text p:first-child {
	margin-top: 0;
}

.header__text p:last-child {
	margin-bottom: 0;
}


.header__nav {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}


.single .header__text {
	display: none;
}

.single .term-liste {
	display: none;
}


.home .header--open-menu .term-liste {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex
}


.home .header--open-menu .header__text {
	display: none;
}


.header__text {
	color: black;
	cursor: pointer;
}


/* Flipp */


.header__flip {
	padding-top: 4px;
	-webkit-perspective: 1900px;
	perspective: 1900px;
}

.header__flip:hover .header__flip-inner {
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
}


.term-liste {
	position: absolute;
	width: 100%;

}

.term-liste,
.header__text {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-webkit-transform: rotateY(0deg);
	backface-visibility: hidden;
}


.header__flip-inner {
	-webkit-transition: .8s;
	-o-transition: .8s;
	transition: .8s;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	position: relative;
	height: 100%;
}


.header__text,
.term-liste {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	/* Die Rückseite von Elementen soll unsichtbar sein */
	letter-spacing: 0.015em;
}

.header__text {
	z-index: 2;
}

.term-liste {
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
	z-index: 1;
}


.header a:hover {
	color: #FF9605;
}


/*

archive header
*/
.archive .header__text {
	opacity: 0;

}


.archive .term-liste {
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
	margin-top: 15px;
}


.archive .header__flip:hover .header__flip-inner {
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
}


/* alle posts werden gezeigt */

.all-posts .header__text {
/* 	display: none; */
opacity: 0;
}

.all-posts .term-liste {
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
/* 	position: relative; */
	opacity: 1;
	margin-top: 15px;
}

.all-posts .header__flip:hover .header__flip-inner {
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
}


/* posts und post */

.posts {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: 20px;

	gap: 10px;
}

.post h2 {
	all: unset;

	margin-top: 0.5rem;
	white-space: nowrap;
	overflow: hidden;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;

	display: block;
	width: 95%;
	margin: 0;
	margin-top: 0.25rem;
}


.post ul {
	all: unset;
}

.post li {
	all: unset;
}

.post a:hover {
	color: #FF9605;
}

/* querformat post */
.post {
	width: var(--post-breite-querformat-mit-rand);
}

.post.hoch {
	width: var(--post-breite-hochformat-mit-rand);
}


.post .image::before {
	position: absolute;
	width: 100%;
	height: calc(100% - 0px);
	content: " ";
	z-index: 9;
	opacity: 1;
	-webkit-transition: opacity 0.25s;
	-o-transition: opacity 0.25s;
	transition: opacity 0.25s;

}

.post .slideshow {
	margin-bottom: 0.5rem;
}


.post:hover .image::before {
	opacity: 0;
}


.post .text-thumbnail:hover {
	color: #FF9605;
}


.post .image {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	height: calc(var(--post-breite-querformat-mit-rand) / 1.5);
	margin-bottom: 0.75rem;
	position: relative;
}


.post.hoch .image {
	height: calc(var(--post-breite-hochformat-mit-rand) / 0.66666666666666);
}


.post img {
	width: 100%;
	height: auto;
	-o-object-fit: contain;
	object-fit: contain;
	display: block;
	border-radius: 2px;
}

.image--slideshow {
	margin-bottom: 0.5rem;
}


/* buttons */

.button {
	border: 0;
	color: inherit;
	cursor: pointer;
	font-family: inherit;
	font-size: 25px;
	-webkit-transition: 0.34s;
	-o-transition: 0.34s;
	transition: 0.34s;
	position: relative;
	background: #A6FBF8;
	padding: 1rem;
	text-align: center;
	display: block;


}

.button:hover {
	-webkit-filter: saturate(1.5);
	filter: saturate(1.5);

}

.button::before {
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
	height: calc(100% - 0px);
	content: " ";
	-webkit-box-shadow: 2px 4px 6px 0 #808080;
	box-shadow: 2px 4px 6px 0 #808080;
	z-index: 9;
	opacity: 0;
	-webkit-transition: opacity 0.25s;
	-o-transition: opacity 0.25s;
	transition: opacity 0.25s;
}

.button:hover::before {
	opacity: 0.7;
}


/* load more */
.home .load-more-posts {
	margin-top: 77px;
}


/* end load more */

.hoch img {
	height: 100%;
	width: auto;
	max-width: 100%;

}


.cover img {
	-o-object-fit: cover;
	object-fit: cover;
	width: 100%;
	height: 100%;
	max-height: none;
	max-width: none;
}


.post li:not(li:last-child)::after {
	content: ", ";
	margin-right: 0.1em;
}

.post h2 {
	color: #808080;
	margin-bottom: 0.5rem;
}


.topline {
	all: unset;
	margin-top: 0.5rem;
	white-space: nowrap;
	overflow: hidden;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	display: block;
	width: 95%;
	margin: 0;
	margin-top: 0.25rem;

	font-family: "ABCDiatypeRoundedMono-Regular";


}


.text-thumbnail {
	color: #808080;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	text-align: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	height: calc(var(--post-breite-querformat-mit-rand) / 1.5);
	margin-bottom: 0.75rem;
	position: relative;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	font: 27px/1.25 Times New Roman, Times, "Times", serif;
	font-size: clamp(18px, 2vw, 27px);
	letter-spacing: .015em;

}

.text-thumbnail div {
	overflow: hidden;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;

}


.content .load-more-posts {
	display: none;
}


/* Hochformat */


.hoch .image {
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.hoch img {
	height: auto;

	max-height: 100%;
}

.hoch .image::before {
	display: none;
}


/* Schatten */


.post--schatten.post img {
	-webkit-filter: drop-shadow(2px 4px 6px #808080);
	filter: drop-shadow(2px 4px 6px #808080);
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

.post:hover img {
	-webkit-filter: none;
	filter: none;
}


/* 	Bildstile */

.freisteller .image::before {
	display: none;

}

.freisteller img {
	outline: none;
}


.post .image::before {
	position: absolute;
	width: calc(100% - 0px);
	height: calc(100% - 0px);
	content: " ";
	z-index: 9;
}


/* Header */

.seitentitel {
	all: unset;
}


/* term liste */

.term-liste a {
	color: #808080;

}

.term-liste {


	margin: 0;
	margin-top: 15px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	list-style: none;

	-webkit-box-pack: center;

	-ms-flex-pack: center;

	justify-content: center;

	font-family: serif;
	font-size: 35px;
	letter-spacing: 0.015em;
	line-height: 32px;
	color: #808080;
	min-height: 90px;

}


.term-liste li:not(li:last-child)::after {
	content: ", ";
	margin-right: 0.5rem;
	color: #808080;

}


.term-liste__item--active a {
	color: #FF9605;
}


.term-liste li {
	all: unset;
}


/* detailseite */


.zuruck-btn {
	font-family: "ABCDiatypeRoundedMono-Regular";
	position: absolute;
	right: 0;
	top: 0;
	font-size: 110%;
	letter-spacing: 0.01em;
	z-index: 100;
}

.zuruck-btn a {
	color: #808080;
	padding: 20px;
	display: block;
}


.zuruck-btn a:hover{
	color: #FF9605;
}

.detail-titel h1 {
	all: unset;

}

.detail-titel {
	display: block;
	font-family: serif;
	font-size: 25px;
	line-height: 30px;
	color: #808080;
	margin-left: 20px;
}

.detail-titel p,
.detail-titel-caption {
	margin: 0;
}

.detailseite.bild .detail-titel {
	position: absolute;
	top: 50px;
	z-index: 20;

}

.detail-titel {
	opacity: 1;
	-webkit-transition: opacity, 0.25s;
	-o-transition: opacity, 0.25s;
	transition: opacity, 0.25s;

}

.nicht-erster-slide .detail-titel {
	opacity: 0;
	pointer-events: none;
}


/* slideshow */


.slideshow .swiper-button-prev,
.slideshow .swiper-rtl,
.slideshow .swiper-button-next {
	color: white;
	opacity: 1;
	-webkit-transition: 0.2s;
	-o-transition: 0.2s;
	transition: 0.2s;
	cursor: e-resize;
	height: 100%;
	width: 50%;
	top: 0;
	right: 0;
	bottom: 0;
	background: transparent;
	border: 0;
	padding: 0;
}

.slideshow .swiper-button-prev {
	left: 0;
	cursor: w-resize;
}


.slideshow .swiper-button-prev::after,
.slideshow .swiper-rtl::after,
.slideshow .swiper-button-next::after {
	display: none;
}


/* keine buttons auf der startseite, die slideshows dort werden nur auf mobil angezeigt */

.archive .slideshow-mobile .swiper-button-prev,
.home .slideshow-mobile .swiper-button-prev {
	display: none;
}

.archive .slideshow-mobile .swiper-button-next,
.home .slideshow-mobile .swiper-button-next {
	display: none;
}

.archive .slideshow-mobile,
.home .slideshow-mobile {
	overflow: hidden;
	position: relative;
}

.project-media {
	position: relative;
	overflow: hidden;
}

.project-media .slideshow-mobile,
.project-media .swiper-wrapper,
.project-media .swiper-slide {
	width: 100%;
	height: 100%;
}

.project-mobile-slide-link {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (hover: hover) and (pointer: fine) {
	.slideshow .swiper-slide,
	.slideshow-mobile .swiper-slide {
		cursor: -webkit-grab;
		cursor: grab;
	}

	.slideshow .swiper-slide:active,
	.slideshow-mobile .swiper-slide:active {
		cursor: -webkit-grabbing;
		cursor: grabbing;
	}
}

@media (prefers-reduced-motion: reduce) {
	.swiper-wrapper,
	.header__flip-inner,
	.detail-titel,
	.button {
		-webkit-transition-duration: 0.01ms !important;
		-o-transition-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

.slideshow-mobile .swiper-pagination {
	position: absolute;
	left: 0;
	right: 0;
	width: 100%;

	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	gap: 5px;

	-webkit-transform: none;
	transform: none;
}

.slideshow-mobile .swiper-pagination-bullet {
	width: 6px;
	height: 6px;
	-webkit-box-flex: 0;
	-ms-flex: 0 0 6px;
	flex: 0 0 6px;
	margin: 0 !important;

	border-radius: 50%;
	background: var(--color-smoke);
	opacity: 0.55;
	-webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.32);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.32);
	-webkit-transform: none !important;
	transform: none !important;
}

.slideshow-mobile .swiper-pagination-bullet-active {
	opacity: 1;
	-webkit-filter: brightness(0.9);
	filter: brightness(0.9);
	-webkit-transform: none !important;
	transform: none !important;
}


/* Detail Seite mit Slideshow */


.slideshow-component {
	overflow: hidden;
	height: 100vh;
}

.slideshow-component .slideshow {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.slideshow-component img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 97vh;
}


.detailseite.bild .content>.slideshow-component:first-child {

	margin-top: calc(-16px - 2rem);
}


.slideshow-component .swiper-slide {
	-webkit-box-pack: center !important;
	-ms-flex-pack: center !important;
	justify-content: center !important;
	height: 100vh !important;
	display: -webkit-box !important;
	display: -ms-flexbox !important;
	display: flex !important;
	-webkit-box-align: center !important;
	-ms-flex-align: center !important;
	align-items: center !important;

}

.slideshow-component .swiper-slide > div {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-width: 0;
}

.slideshow-component .swiper-wrapper {
	height: 100vh !important;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;

}


/* fullscreen bilder option */
.slide--fullscreen {
	overflow: hidden;
}


.slide--fullscreen img {
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center center;
	object-position: center center;
}

/* slideshow ende */


.multiply {
	mix-blend-mode: multiply;
}


/* text */


.text-component {
	max-width: 750px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 4rem;

	font: 25px / 1.25 Times New Roman, Times, "Times", serif;

}

.text-component .einzug {
	text-indent: 40px;
	display: block;
}

.text-component .kleine-schrift {
	font-size: 14px;
	line-height: 1.3;
	display: block;
	letter-spacing: 0.05em;

}


.bild-component {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-bottom: 4rem;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.bild-component figure {
	margin: 0;
	margin-left: auto;
	margin-right: auto;

	max-width: 600px;

}

.bild-component figure p {
	margin: 0;
}

.bild-component figcaption {
	margin-top: 0.5rem;
	font-family: "ABCDiatypeRoundedMono-Regular";
	font-size: 13px;
	letter-spacing: 0.025em;
	color: #808080;
	line-height: 1.35;


}

.bild-component img {
	max-width: 100%;
	height: auto;
}


.zwischentitel-component {
	max-width: 750px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-top: 4rem;
	margin-bottom: 4rem;
}

.zwischentitel-component h3 {
	font-weight: normal;
	font-size: 2em;

	font-family: serif;
	font-size: 35px;
	line-height: 30px;

	letter-spacing: 0.035em;
	letter-spacing: 0.015em;

}


.single-bild--schatten {
	-webkit-filter: drop-shadow(2px 4px 6px #808080);
	filter: drop-shadow(2px 4px 6px #808080);
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}


.text-bild-caption {
	text-align: left;
}


/* diese captions aus der slideshow wird angezeigt wie der titel */
.detail-bild-caption {

	all: unset;
	display: block;
	font-family: serif;
	font-size: 25px;
	line-height: 30px;
	color: #808080;
	margin-left: 20px;
	position: absolute;
	left: 0;
	top: 50px;
	z-index: 50;
	width: 96%;
	pointer-events: auto;
	-webkit-user-select: text;
	user-select: text;
	cursor: text;
}

.detail-bild-caption a {
	position: relative;
	z-index: 1;
	pointer-events: auto;
}

.detail-bild-caption[hidden] {
	display: none;
}

.detail-bild-caption p {
	margin: 0;
	font: inherit;
	line-height: inherit;
	color: inherit;
}

.detailseite .detail-titel a,
.detailseite .detail-bild-caption a {
	color: inherit !important;
	text-decoration: none !important;
	border-bottom: 1px solid currentColor;
}

.detailseite .detail-titel a:hover,
.detailseite .detail-bild-caption a:hover {
	color: inherit !important;
	text-decoration: none !important;
	border-bottom-color: transparent;
}


/* footer */


footer a:hover {
	color: #FF9605;
}

footer {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
	margin: 20px;
	margin-top: auto;
}

footer .col1 {
	width: 55%;

}

footer .col2 {
	width: 45%;

}

.footer .col2 {}

.footer__btn {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	gap: 10px;
}

.footer__mail {
	background: #EAEAEA;
	width: 50%;
	color: #FF9605;
}

.footer__tel {
	background: #FFEFEF;
	width: 50%;
	color: #808080;

}


.footer__instagram {
	text-align: right;
	font-size: 25px;
}


.footer__instagram a {
	font-style: italic;
}

.footer__instagram a {
	border-bottom: 1px solid;
}

.footer__about {
	font-size: 18.9px;
	letter-spacing: 0.405px;
	line-height: 23.625px;
	padding: 12px;
	padding-bottom: 0px;
	border: 1px solid #808080;
	width: auto;

	margin-bottom: 1rem;
}

.footer__about p {
	margin: 0;
	margin-bottom: 0.77em;
}


.footer__about a {
	border-bottom: 1px solid;

}

.footer__instagram a,
.footer__about a {
	color: #000;
}

.footer__instagram a:hover,
.footer__about a:hover {
	border-bottom-color: transparent;
	color: #000;
}

.footer__imprint {
	margin-bottom: 1rem;
	font-family: "ABCDiatypeRoundedMono-Regular";
	font-size: 13px;
	letter-spacing: 0.025em;
	color: #808080;
	line-height: 1.35;

	margin-top: auto;

}


footer ul {
	all: unset;
	font-family: "ABCDiatypeRoundedMono-Regular";
	font-size: 13px;
	letter-spacing: 0.025em;
	color: #808080;

}

footer li {
	all: unset;
	margin-right: 0.5rem;
}

footer .load-more-posts {
	width: calc(100% - 1rem);
	margin: 0;
	margin-bottom: 1rem;
	margin-top: 60px;
	color: #808080;
}

.load-more-posts {
	display: none;
}

footer .col2 {
	-ms-flex-item-align: end;
	-ms-grid-row-align: end;
	align-self: end;


}


.home footer .col2 {
	-ms-flex-item-align: auto;
	-ms-grid-row-align: auto;
	align-self: auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}


.home footer .load-more-posts {
	display: block;
}

.all-posts footer .col2 {
	-ms-flex-item-align: end;
	-ms-grid-row-align: end;
	align-self: end;
}

.single .col1 {
	display: none;
}

.single .footer__imprint {
	display: none;
}

.single footer .col2 {
	width: auto;
}

.single footer {
	-webkit-box-orient: inherit;
	-webkit-box-direction: inherit;
	-ms-flex-direction: inherit;
	flex-direction: inherit;
	padding-top: 0.75rem;
}

.page .content h1,
.page .content h2,
.page .content h3 {
	all: unset;
}

.page .header__flip {
	display: none;
}

.page .term-liste--mobile {
	display: none;
}

.page .content {
	padding-left: 20px;
	max-width: 80ch;
	font-size: 25px;
	margin-top: 1rem;
}


.page .content p:first-child {
	margin-top: 0;
}
