/*
Architekten Bauer Template
Philosophie block (home)
creation Date: 2026-11-13
Author: Sebastian Osinski
http://www.sebbi.net
https://ddm-friends.de

Self-contained: only .philo_* classes, loaded after responsive.css.
Interaction lives in js/philosophie.js.
*/

/* BLOCK */
.philo_block{
	padding-bottom: 60px; /* room for the overlapping _BÜRO title letter below */
}
.philo_intro{
	align-items: flex-start;
}

/* STATEMENT (pull quote) */
.philo_statement{
	position: relative;
	margin: 0px;
	padding-left: 30px;
	border-left: 6px solid #FFE100;
}
.contstyles .philo_statement p{
	margin: 0px;
	font-family: 'SourceSansPro-Bold', sans-serif;
	font-weight: bold;
	font-size: 27px;
	line-height: 35px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #000000;
	overflow-wrap: break-word; /* safety net for "SELBSTVERSTÄNDLICHKEIT" on tiny screens */
	word-wrap: break-word;
}
.contstyles .philo_statement p.philo_statement_by{
	margin-top: 20px;
	font-family: 'SourceSansPro-Regular', sans-serif;
	font-weight: normal;
	font-size: 16px;
	line-height: 22px;
	letter-spacing: 1px;
	color: #252525;
}

/* READ MORE TEXT */
.philo_text{
	position: relative;
}
.contstyles .philo_text p:first-child{
	margin-top: 0px;
}
/* collapsed state only once JS is ready - without JS the full text stays readable */
.philo_text._ready{
	max-height: 180px; /* ~6 visible lines (25px line-height + paragraph gap), last ones fading */
	overflow: hidden;
	-webkit-transition: max-height 700ms cubic-bezier(0.65, 0, 0.35, 1);
	transition: max-height 700ms cubic-bezier(0.65, 0, 0.35, 1);
}
.philo_text._ready::after{
	content: '';
	position: absolute;
	left: 0px;
	right: 0px;
	bottom: 0px;
	height: 75px;
	background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 95%);
	pointer-events: none;
	opacity: 1;
	-webkit-transition: opacity 400ms ease;
	transition: opacity 400ms ease;
}
.philo_text._ready._open::after{
	opacity: 0;
}

/* READ MORE BUTTON */
.philo_more{
	display: none; /* shown by JS together with the collapsed state */
	position: relative;
	margin-top: 30px;
	padding: 14px 26px 14px 24px;
	border: 1px solid #000000;
	border-radius: 0px;
	background-color: transparent;
	background-image: linear-gradient(#FFE100, #FFE100);
	background-repeat: no-repeat;
	background-position: 0% 0%;
	background-size: 0% 100%;
	color: #000000;
	font-family: 'SourceSansPro-Bold', sans-serif;
	font-weight: bold;
	font-size: 16px;
	line-height: 20px;
	letter-spacing: 2px;
	text-transform: uppercase;
	cursor: pointer;
	-webkit-appearance: none;
	-webkit-transition: background-size 350ms cubic-bezier(0.65, 0, 0.35, 1), border-color 200ms ease;
	transition: background-size 350ms cubic-bezier(0.65, 0, 0.35, 1), border-color 200ms ease;
}
.philo_more._ready{
	display: inline-block;
}
.philo_more:hover,
.philo_more:focus-visible{
	background-size: 100% 100%;
	border-color: #FFE100;
}
.philo_more:focus{
	outline: none;
}
.philo_more:focus-visible{
	outline: 2px solid #000000;
	outline-offset: 3px;
}
/* chevron, drawn like the site's arrow icon */
.philo_more_icon{
	display: inline-block;
	position: relative;
	width: 9px;
	height: 9px;
	margin-right: 14px;
	top: -3px;
	border-right: 3px solid #000000;
	border-bottom: 3px solid #000000;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transition: transform 350ms ease, top 350ms ease;
	transition: transform 350ms ease, top 350ms ease;
}
.philo_more[aria-expanded="true"] .philo_more_icon{
	top: 2px;
	-webkit-transform: rotate(225deg);
	transform: rotate(225deg);
}
.philo_more_label._less,
.philo_more[aria-expanded="true"] .philo_more_label._more{
	display: none;
}
.philo_more[aria-expanded="true"] .philo_more_label._less{
	display: inline;
}

/* VIDEOS */
.philo_videos{
	margin-top: 100px;
}
.philo_videos_head{
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	margin-bottom: 25px;
}
.contstyles .philo_videos_head h4{
	margin-right: 20px;
}
.contstyles .philo_videos_head p{
	margin: 0px;
	color: #252525;
}
.philo_video_box{
	width: 48.5%;
}
.philo_video{
	position: relative;
	display: block;
	width: 100%;
	height: 0px;
	padding-bottom: 56.25%; /* 16:9 */
	overflow: hidden;
	background-color: #000000;
}
.philo_video video{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: #000000;
	object-fit: cover;
}

/* poster overlay with play button (only active once JS is ready) */
.philo_video_play{
	display: none;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	border: none;
	border-radius: 0px;
	background: #000000;
	color: #ffffff;
	font-family: 'SourceSansPro-Regular', sans-serif; /* buttons do not inherit fonts */
	text-align: left;
	cursor: pointer;
	overflow: hidden;
	z-index: 2;
	-webkit-appearance: none;
}
.philo_video._ready .philo_video_play{
	display: block;
}
.philo_video._ready._started .philo_video_play{
	display: none;
}
.philo_video_play:focus{
	outline: none;
}
.philo_video_play:focus-visible{
	outline: 3px solid #FFE100;
	outline-offset: -3px;
}
img.philo_video_poster{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-transition: transform 900ms cubic-bezier(0.2, 0.6, 0.2, 1), opacity 400ms ease;
	transition: transform 900ms cubic-bezier(0.2, 0.6, 0.2, 1), opacity 400ms ease;
}
.philo_video_shade{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0) 70%);
	-webkit-transition: background-color 400ms ease;
	transition: background-color 400ms ease;
}
.philo_video_play:hover img.philo_video_poster,
.philo_video_play:focus-visible img.philo_video_poster{
	-webkit-transform: scale(1.04);
	transform: scale(1.04);
}
.philo_video_play:hover .philo_video_shade{
	background-color: rgba(0,0,0,0.15);
}

/* yellow square play button with black triangle */
.philo_video_btn{
	position: absolute;
	left: 30px;
	bottom: 30px;
	width: 64px;
	height: 64px;
	background-color: #FFE100;
	-webkit-transition: width 300ms cubic-bezier(0.65, 0, 0.35, 1), height 300ms cubic-bezier(0.65, 0, 0.35, 1);
	transition: width 300ms cubic-bezier(0.65, 0, 0.35, 1), height 300ms cubic-bezier(0.65, 0, 0.35, 1);
}
.philo_video_btn::after{
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -6px;
	margin-top: -11px;
	border-style: solid;
	border-width: 11px 0px 11px 18px;
	border-color: transparent transparent transparent #000000;
}
.philo_video_play:hover .philo_video_btn,
.philo_video_play:focus-visible .philo_video_btn{
	width: 76px;
	height: 76px;
}
.philo_video_caption{
	position: absolute;
	left: 120px;
	right: 20px;
	bottom: 30px;
	line-height: 20px;
	-webkit-transition: left 300ms cubic-bezier(0.65, 0, 0.35, 1);
	transition: left 300ms cubic-bezier(0.65, 0, 0.35, 1);
}
.philo_video_play:hover .philo_video_caption,
.philo_video_play:focus-visible .philo_video_caption{
	left: 132px;
}
.philo_video_part{
	display: block;
	font-family: 'SourceSansPro-Bold', sans-serif;
	font-weight: bold;
	font-size: 26px;
	line-height: 30px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.philo_video_meta{
	display: block;
	margin-top: 4px;
	font-size: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
	opacity: 0.85;
}
.philo_video_duration{
	position: absolute;
	top: 20px;
	right: 20px;
	padding: 3px 8px;
	background-color: rgba(0,0,0,0.6);
	font-size: 14px;
	line-height: 18px;
	letter-spacing: 1px;
}

/* RESPONSIVE */
@media (max-width: 1210px){
	/* keep a comfortable reading measure once the columns stack */
	.philo_intro .flexbox{
		max-width: 700px;
		margin-left: auto;
		margin-right: auto;
	}
	.philo_statement{
		text-align: left;
		margin-bottom: 50px;
	}
	.philo_text_col{
		text-align: left;
	}
	.philo_more_wrap{
		text-align: center;
	}
	.philo_videos{
		margin-top: 70px;
	}
	.philo_videos_head{
		justify-content: center;
		text-align: center;
	}
	.contstyles .philo_videos_head h4{
		margin-right: 0px;
		width: 100%;
	}
}

@media (max-width: 800px){
	.philo_block{
		padding-bottom: 20px;
	}
	.contstyles .philo_statement p{
		font-size: 22px;
		line-height: 29px;
	}
	.philo_statement{
		padding-left: 20px;
		border-left-width: 5px;
	}
	.philo_video_box{
		width: 100%;
		margin-bottom: 25px;
	}
	.philo_video_btn{
		left: 20px;
		bottom: 20px;
		width: 52px;
		height: 52px;
	}
	.philo_video_play:hover .philo_video_btn{
		width: 52px;
		height: 52px;
	}
	.philo_video_caption,
	.philo_video_play:hover .philo_video_caption{
		left: 90px;
		bottom: 20px;
	}
	.philo_video_part{
		font-size: 22px;
		line-height: 26px;
	}
}

@media (max-width: 500px){
	.contstyles .philo_statement p{
		font-size: 20px;
		line-height: 27px;
	}
	.philo_video_meta{
		font-size: 13px;
	}
	.philo_video_duration{
		top: 12px;
		right: 12px;
	}
}

@media (prefers-reduced-motion: reduce){
	.philo_text._ready,
	.philo_text._ready::after,
	.philo_more,
	.philo_more_icon,
	img.philo_video_poster,
	.philo_video_btn,
	.philo_video_caption{
		-webkit-transition: none;
		transition: none;
	}
}
