/*
Theme Name: Schornsteinfeger CT
Author: Kollektiv13
Author URI: https://kollektiv13.eu/
Version: 2.3.0
Text Domain: schornsteinfeger-ct
*/


/* Layout */
* {
	box-sizing: border-box;
}

html {
	max-width: 1920px;
	margin: 0 auto;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	box-shadow: 0 0 1em lightgrey;
}

.wp-site-blocks {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

main {
	flex-grow: 1;
}

body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	width: 90%;
}

/* Tables */
.is-style-blank table {
	width: auto;
}

.is-style-blank td {
	border: none;
	padding: 0;
	vertical-align: top;
}

.is-style-blank td + td {
	padding-left: .5em;
}

/* Forms */
input, textarea, select {
	font-size: 1rem;
	padding: .5em;
}

.wpcf7-form p > label {
	display: block;
	padding: .5em 0;
}

.wpcf7-form-control-wrap {
	display: block;
}

.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
	display: block;
	width: 100%;
}

.wpcf7-list-item {
	margin-left: 0;
}

@media screen and (min-width: 768px) {
	.wpcf7 .group {
		margin: 1em 0;
		display: flex;
		gap: 2em;
	}

	.wpcf7 .group > * {
		margin-top: 0;
		margin-bottom: 0;
		flex-grow: 1;
	}
}

/* Custom */

.alignfull + .alignfull {
	margin-top: 0;
}

header nav.wp-block-navigation {
	border-radius: 2em;
	border: 1px solid var(--wp--preset--color--contrast);
	padding-inline: var(--wp--preset--spacing--70);
}

main {
	background: url('/wp-content/uploads/Rauch.png') no-repeat center bottom;
}

h2 {
	font-size: 2.5em;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.red-box {
	background: linear-gradient(to right, #761618, #531611);
	border-radius: .7em;
	padding: 4em 2em 22em;
	max-width: 800px;
	margin-left: 0;
}

.karte {
	transform: translateY(-8em) scale(1.3);
}

.bilder {
	padding-left: 2em;
	align-items: stretch;
}

.bilder.zeile-1 {
	margin-top: -19em;
}

.bilder .wp-block-image {
	position: relative;

}

.bilder .wp-block-image a {
	display: block;
	height: 100%;
}
.bilder .wp-block-image img {
	display: block;
	border-radius: .7em;
	height: 100%;
	object-fit: cover;
}

.bilder .wp-block-image figcaption {
	margin: 0;
	background: var(--wp--preset--color--secondary);
	color: #ffffff;
	padding: .4em .7em;
	border-bottom-left-radius: .7em;
	border-bottom-right-radius: .7em;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
}

.wp-block-button .wp-element-button {
	color: var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--secondary);
	border: 1px solid var(--wp--preset--color--primary);
	border-radius: 2em;
}

.wp-block-button .wp-element-button:hover {
	background: var(--wp--preset--color--primary-transparent);
	border: 1px solid var(--wp--preset--color--contrast);
}

.with-banner {
	position: relative;
	top: 60px;
	z-index: 10;
}

.is-style-hero {
	text-align: center;
	min-height: 85dvh;
	background: url('/wp-content/uploads/Rauch.png') no-repeat center bottom;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-bottom: 5em;
}

.is-style-hero::after {
	content: '';
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	aspect-ratio: 16 /9;
	transform: scale(1, -1);
	background: url('/wp-content/uploads/Rauch.png') no-repeat center bottom;
}

.is-style-banner {
	padding-block: 1rem;
	background: var(--wp--preset--color--primary-transparent);
	color: #ffffff;
	font-size: 2em;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-align: center;
}

.is-style-banner h2 {
	font-size: 1em;
}

.is-style-testimonial {
	position: relative;
	background: var(--wp--preset--color--secondary);
	padding: 4em 2em 2em;
	border-radius: .7em;
}

.is-style-testimonial::before {
	content: '';
	display: block;
	position: absolute;
	top: -2em;
	left: -2em;
	width: 50%;
	height: 3em;
	background: var(--wp--preset--color--primary);
	border-radius: .4em;
	z-index: 3;
}

.is-style-testimonial::after {
	content: '';
	display: block;
	position: absolute;
	top: -2em;
	left: -2em;
	width: 2em;
	height: 10em;
	background: var(--wp--preset--color--primary);
	opacity: 0.25;
	border-radius: .4em .4em 0 .4em;
	z-index: 1;
}

.is-style-testimonial .wp-block-heading {
	font-size: 1.5em;
}

.wp-block-list.is-style-checklist li {
	margin-top: .7em;
	list-style: none;
	font-weight: bold;
}

.wp-block-list.is-style-checklist li::before {
	content: '';
	display: inline-block;
	width: 1.4em;
	height: 1.4em;
	background: url('./assets/images/Haken.svg') no-repeat left center;
	vertical-align: middle;
	margin-right: .5em;
}

.config {
	position: relative;
	background: var(--wp--preset--color--primary-transparent);
	padding: 4em 2em 2em;
	border-radius: .7em;
	margin-top: 6em;
}

.config::before {
	content: '';
	display: block;
	position: absolute;
	top: -2em;
	left: -2em;
	width: 50%;
	height: 3em;
	background: #8e8d8d;
	border-radius: .4em;
	z-index: 3;
}

.config::after {
	content: '';
	display: block;
	position: absolute;
	top: -2em;
	left: -2em;
	width: 2em;
	height: 10em;
	background: #8e8d8ddd;
	opacity: 0.25;
	border-radius: .4em .4em 0 .4em;
	z-index: 1;
}

.config input, .config textarea, .config select {
	border-radius: 5px;
	background: #8e8d8d;
}

.config .wpcf7-list-item {
	display: block;
}

.decide {
	font-size: 1.4em;
	display: flex;
	gap: 1.5em;
}

.decide button {
	padding: .7em;
	border-radius: 5px;
	background: #8e8d8d;
	cursor: pointer;
}

.team .wp-block-image {
	padding-left: 1.5em;
	position: relative;
}

.team .wp-block-image::before {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 1.5em;
	height: 6em;
	background: var(--wp--preset--color--primary);
	border-top-left-radius: .7em;
}

.team .wp-block-image img {
	border-radius: .7em;
}

.team .wp-block-group:not(.is-vertical) {
	position: relative;
	background: #333333;
	border-radius: .7em;
	margin-top: -1.7em;
	padding: 1em;
}

.team ul {
	font-size: .8em;
}

.history-box h3 {
	Font-size: 1.8em;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--wp--preset--color--primary);
	margin-top: 1.5em;
}

.history-box h3::after {
	content: '';
	display: block;
	border-bottom: 4px dotted #FFFFFF;
	max-width: 360px;
	margin: .4em auto;
}

.is-layout-flex.push {
	position: relative;
	margin-top: -3.5em;
	margin-bottom: 2em;
}

.wp-block-image img {
	border-radius: .7em;
}

.wp-block-gallery img {
	border-radius: .7em;
}

.red-center-box {
	background: linear-gradient(to right, #761618, #531611);
	border-radius: .7em;
	padding: 4em 2em 2em;
	max-width: 800px;
	margin-top: -1em;
}

.dark-grey-box {
	background: #353535;
	border-radius: .7em;
	padding: 4em;
	position: relative;
}

.dark-grey-box > .wp-block-paragraph {
	position: absolute;
	left: -3rem;
	top: -2rem;
	width: auto;
	border-radius: .7rem;
	padding: 1rem 4rem;
	background: #8e8d8d;
	font-size: 2em;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: bold;
	z-index: 10;
}

.dark-grey-box > .wp-block-paragraph::before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 4rem;
	width: 5rem;
	height: 6rem;
	border-radius: .7rem;
	background: #8e8d8d;
	opacity: .6;
	z-index: 1;
}

.dark-grey-box input, .dark-grey-box textarea {
	background: #8e8d8d;
	color: 4d4d4d;
	padding: 1em;
	border: none;
	border-radius: .4em;
}

.dark-grey-box a {
	color: inherit;
}

.dark-grey-box .wpcf7-submit {
	background: var(--wp--preset--color--primary);
	color: #FFFFFF;
	padding-inline: 2em;
	border-radius: 10em;
}

.bande {
	background: #FFFFFF88;
	padding: 2rem 5rem 3rem;
}

.bande p {
	flex-grow: 1;
}

.bande .wp-block-button {
	white-space: nowrap;
}

.aufforderung {
	font-size: 4em !important;
	margin-left: 5rem;
	padding-top: 4rem;
	margin-bottom: 20%;
	text-shadow: 5px 5px 5px #333333;
}

.kreisbutton a { 
	display: block;
	background: var(--wp--preset--color--primary);
	color: #FFFFFF;
	width: 5em;
	height: 5em;
	padding:2em;
	font-size:2em;
	transform: translate(7em,7em) rotate(30deg);
	border-radius: 100em;
}

.leistungen .is-vertical {
	background: linear-gradient(to right, #761618, #531611);
	padding: 1.5em;
	border-radius: .7em;
}

.leistungen {
	align-items: stretch;
}

.leistungen img {
	height: 100%;
	object-fit: cover;
}

.eu-badge img {
	padding: 1em;
	background: #FFFFFF;
}

footer a {
	color: inherit;
}

footer .wpcf7 form {
	display: flex;
	gap: 1em;
}

footer .wpcf7 input {
	background: var(--wp--preset--color--secondary);
	color: #ffffff;
	padding: 1em 2em;
	border: none;
	border-radius: .4em;
}

footer .wpcf7 .wpcf7-submit {
	background: var(--wp--preset--color--primary);
	color: #ffffff;
	padding: 1em 2em;
	border: none;
	border-radius: .4em;
}