@font-face {
	font-family: Aller-Std-Bold;
	font-display: swap;
	src: url(/assets/fonts/Aller_Std_Bd.ttf);
	font-weight: 500
}
@font-face {
	font-family: Aller-Std-Light;
	font-display: swap;
	src: url(/assets/fonts/Aller_Std_Lt.ttf);
	font-weight: 500
}
@font-face {
	font-family: Aller-Std-Regular;
	font-display: swap;
	src: url(/assets/fonts/Aller_Std_Rg.ttf);
	font-weight: 500
}


body {
	font-family: Aller-Std-Light, sans-serif;
	font-weight: 500;
	padding: 0px 2.5vw;
	margin: 0px;
	font-size: 18px;
	line-height: 24px;
	-webkit-font-smoothing: antialiased;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

h1 { font-size: 48px; line-height: 56px; font-family: Aller-Std-Light; font-weight: 500; margin: 0 auto 48px; padding: 0 2.5vw; }
h2 { font-size: 36px; line-height: 44px; font-family: Aller-Std-Light; font-weight: 500; margin: 0 auto 48px; padding: 0 2.5vw; }
h3 { font-size: 18px; line-height: 18px; font-family: Aller-Std-Bold; font-weight: 500; text-transform: uppercase; padding-top: 24px; }
h4 { font-size: 18px; line-height: 18px; font-family: Aller-Std-Bold; font-weight: 500; }
strong { font-family: Aller-Std-Bold; font-weight: 500; }

/* ------------------------------- */


#main-header {
	position: sticky;
	top: 0;
	background-color: white;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	transition: all 0.1s ease-in-out;
	z-index: 1000;
	padding-bottom: 1vw;
	height: 240px;
}
#main-header.shrink { height: 60px; }

.cdc {
	font-family: Aller-Std-Bold;
	font-weight: 500;
	text-transform: uppercase;
	min-width: 320px;
	padding-bottom: 12px;
}
.logo {
	background-image: url(../img/cdc-logo.svg);
	background-position: center;
	background-repeat: no-repeat;
	height: 240px;
	width: 240px;
	min-width: 240px;
}
#main-header.shrink .logo {
	background-image: url(../img/cdc-logo_small.svg);
	background-position: center;
	background-repeat: no-repeat;
	height: 60px;
	width: 60px;
	min-width: 60px;
}
nav { min-width: 320px; text-align: right; }
nav a {
	text-transform: uppercase;
	display: inline-block;
	color: inherit;
	text-decoration: none;
	text-align: center;
}
nav a:hover { color: #FCCA00; font-family: Aller-Std-Bold; font-weight: 500; }
nav a.active { font-family: Aller-Std-Bold; font-weight: 500; }
nav a.active:hover { color: black; }
nav a::after {
	display: block;
	content: attr(data-text);
	font-family: Aller-Std-Bold;
	font-weight: 500;
	height: 0;
	visibility: hidden;
	overflow: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #FCCA00; }
a:hover #blackarrow  { fill: #FCCA00; }
footer a:hover { color: inherit; }


/* ------------------------------- */


section { background-color: #F7F4EF; text-align: center; }
.header-img {
	background-image: url(../img/cdc_header.jpg);
	height: 37.5vw;
	min-height: 360px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.map-img {
	background-image: url(../img/cdc_map.svg);
	height: 37.5vw;
	min-height: 560px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.note {
	font-family: Aller-Std-Bold;
	font-weight: 500;
	text-transform: uppercase;
	display: inline-block;
	border-bottom: 1px solid #8F9697;
	padding: 0 24px 12px;
	margin-top: 72px;
	margin-bottom: 36px;
}
.arrow {
	font-family: Aller-Std-Bold;
	font-weight: 500;
	width: auto;
	margin: 36px auto;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	gap: 8px;
}
section h1 { max-width: 1280px; }
section h2 { max-width: 1280px; }
section h4 { max-width: 836px; margin: 0 auto; padding: 0 2.5vw 24px; }
section p {
	max-width: 836px;
	margin: 0 auto;
	padding: 0 2.5vw 24px;
}
section > p:last-child { padding-bottom: 216px; }
section.imprint p, h4 { text-align: left; }

.portrait { padding: 108px 0 36px; }
.portrait img { width: 100%; max-width: 1024px; }
article { display: flex; justify-content: center; }
article.img_right { flex-direction: row-reverse; }
article div {
	width: 50%;
	aspect-ratio: 4 / 3;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1vw;
}
article div .note { margin-top: 24px; }
article.column { max-width: 1280px; margin: 0 auto 7.5vw; }
article.column div { aspect-ratio: unset; justify-content: flex-start; }
article.column p { padding-bottom: 0; }


/* ------------------------------- */


.kachel_druck {
	background-image: url(../img/cdc_druck.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.kachel_satz {
	background-image: url(../img/cdc_satz.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.kachel_design {
	background-image: url(../img/cdc_design.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.kachel_veredelung {
	background-image: url(../img/cdc_veredelung.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	
}
.kachel_trauer {
	background-image: url(../img/cdc_trauer.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* ------------------------------- */

.zirkulare { max-width: 1280px; margin: 0 auto; }

.kachel_zirkulare {
	background-color: white;
	margin: 0.5vw;
	max-width: 290px;
	aspect-ratio: unset;
	padding: 0;
}
.kachel_zirkulare:first-child { margin-left: 1vw; }
.kachel_zirkulare:last-child { margin-right: 1vw; }

.kachel_zirkulare p {
	font-size: 16px;
	line-height: 22px;
	padding-bottom: 11px;
}
.kachel_zirkulare img { max-width: 100%; }
section.trauer { padding-bottom: 0.5vw; }


/* ------------------------------- */


footer {
	background-color: #8F9697;
	margin-top: 2.5vw;
	padding: 2.5vw;
	font-size: 16px;
	line-height: 22px;
	color: white;
	display: flex;
	gap: 4vw;
}
footer h3 {
	font-size: 16px;
	margin: 0;
	padding-top: 0;
}
footer p { margin: 0; }
footer div { display: flex; flex-direction: column; }
.ft_end { margin-left: auto; text-align: right; }
footer a:hover { text-decoration: underline; }


/* ------------------------------- */


@media (max-width: 1024px) {
	h1 { font-size: 36px; line-height: 44px; }
	footer { flex-wrap: wrap; }
	.ft_end { margin-left: 0; text-align: left; }
}
@media (max-width: 768px) {
	article.img_right { flex-direction: column; }
	article div { width: 100%; padding: 0; }
	article { flex-direction: column; }
	footer { flex-direction: column; gap: 4vw; }
	.ft_end { margin-left: 0; }
	article.zirkulare { flex-direction: initial; }
}
@media (max-width: 560px) {
	article.zirkulare { flex-wrap: wrap; }
	.kachel_zirkulare:first-child { margin-left: 0.5vw; }
	.kachel_zirkulare:last-child { margin-right: 0.5vw; }
}


/* ------------------------------- */


.navbar {
	display: flex;
	justify-content: end;
	padding-bottom: 6px;
}
.menu-checkbox {
	display: none;
}
.menu-button, .close-button, .seek-hide {
	display: none;
}
.nav-links {
	list-style: none;
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
}



@media (max-width: 1024px) {
	
	nav, .cdc { min-width: 100px; }
	.navbar { padding-bottom: 18px; }
	.menu-button {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 30px;
		height: 21px;
		cursor: pointer;
	}
	.menu-button .bar {
		height: 3px;
		width: 100%;
		background-color: black;
	}
	.nav-overlay {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background-color: rgba(255, 255, 255, 0.975);
		z-index: 100;
		display: flex;
		justify-content: center;
		align-items: center;
		opacity: 0;
		pointer-events: none;
	}
	.nav-links {
		flex-direction: column;
		align-items: center;
		gap: 7vw;
	}
	.nav-links a {
		font-size: 28px;
	}
	.close-button {
		position: absolute;
		top: 21px;
		right: 2.5vw;
		display: flex;
		flex-direction: column;
		justify-content: center;
		width: 30px;
		height: 21px;
		cursor: pointer;
	}
	.close-button .bar_1 {
		height: 3px;
		width: 100%;
		background-color: black;
		transform: rotate(-45deg) translateX(-2px);
	}
	.close-button .bar_2 {
		height: 3px;
		width: 100%;
		background-color: black;
		transform: rotate(45deg) translateX(-2px);
	}
	.seek-hide { display: flex; }
	.menu-checkbox:checked ~ .nav-overlay {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}
}


/* ------------------------------- */


@media (max-width: 464px) {
	.logo {
		background-image: url(../img/cdc-logo_small.svg);
		height: 60px;
		width: 60px;
		min-width: 60px;
	}
	#main-header { height: 60px; }
}





