/*
	Theme Name:	bnvb
	Author:		pepper
	Author URI:	https://pepper.green/
	Template:	generatepress
	Version:	1
*/
 
/*@font-face {
	font-family: 'Signika';
	src: url('fonts/signika.woff2') format('woff2-variations');
	font-weight: 300 700;
	font-display: fallback;
	unicode-range: U+0000-00FF, U+0100-017F, U+0180-024F, U+1E00-1EFF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}*/


/*html, body, button, input, select, textarea {
	font-family: 'Signika', Helvetica, Arial, sans-serif !important;
	font-weight: 350;
}*/


/* smooth scroll */
html {
	scroll-behavior: smooth;
}
body {
	overflow-y: scroll;
}

/* animations */
@keyframes fadein {
	from {
		opacity:0;
	}
	to {
		opacity:1;
	}
}

/* fixes */
strong, b {
	font-weight: bold;
}
p {
	margin-bottom: 1.45em;
}
.site p a, 
.site li a {
	text-decoration: underline;
}
.site p a:hover, 
.site li a:hover {
	text-decoration: none;
}
.nowrap {
	white-space: nowrap;
}
.gb-icon svg {
	width: auto !important;
}
.site-header, .main-navigation:not(.slideout-navigation) {
	z-index: 1000 !important;
}
.pseudobackground {
	z-index: 0;
}
.pseudobackground::after {
	z-index: -1 !important;
}


/* Typography settings */
.site-main {
	word-spacing: -0.033em;
}

/* Hyphenate */
.site-main p, .site-main p,
.header h1 {
	hyphens: auto;
	hyphenate-limit-chars: 12 5 5;
}

/* Lists */
.site-main ul {
	list-style-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M0 32H448V480H0V32z' fill='%23F79646'/%3E%3C/svg%3E");
	margin: 1em 0;
	padding: 0 0 0 1em; 
}
.site-main ol {
	margin: 1em 0;
	padding: 0 0 0 1em; 
}
.site-main li {
	padding-left: 0.25em;
}
.site-main li > p {
	margin: 0;
}




/* GeneratePress Site CSS */ /* Contribute menu button */
.menu-bar-items {
	flex-direction: row-reverse;
}

/* Sidebar - Categories */
.inside-right-sidebar ul.wp-block-categories-list {
	list-style-type: square;
	margin: 1em 0 1.5em 1em;
}

/* CTA button colors */
.main-navigation .menu-bar-items .cta-btn,
.main-navigation.slideout-navigation .cta-btn {
	color: var(--accent);
}

.main-navigation .menu-bar-items .cta-btn:hover,
.main-navigation.slideout-navigation .cta-btn:hover {
	color: var(--base-2);
} /* End GeneratePress Site CSS */


.square {
	aspect-ratio: 1 / 1;
}

.gb-query-loop-wrapper .gb-query-loop-item:not(.has-post-thumbnail) .gb-grid-wrapper {
	row-gap: 0px !important;
} 


ul.bloglist  {
	list-style-type: "\2013\00a0";
	margin: 0;
	padding: 0 0 0 1em; 
}

.gb-query-loop-wrapper .gb-headline,
.single-post h1 {
	text-wrap: balance;
}


/* Map */
	.leaflet-container {
		font-family: unset !important;
		z-index: 1;
	}
	.leaflet-control a {
		font-weight: unset !important;
		color: var(--gruen) !important;
	}
	.leaflet-control-zoom a {
		text-decoration: none !important;
	}
	.leaflet-popup-content {
		margin: 12px 17px !important;
		width: max-content !important;
		font-size: 15px;
	}
	.leaflet-popup-content-wrapper {
		background: var(--honigorange-100) !important;
		color: var(--schwarz) !important;
		border-radius: 99px !important;
		box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2) !important;
		border: 1px solid var(--stahlgrau-100);
	}
	.leaflet-popup-tip {
		background: var(--honigorange-100) !important;
		color: var(--schwarz) !important;
		box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2) !important;
		border-right: 1px solid var(--stahlgrau-100);
		border-bottom: 1px solid var(--stahlgrau-100);
	}
	.leaflet-container a.leaflet-popup-close-button {
		color: var(--schwarz) !important;
	}
	.leaflet-popup-content .title {
		font-size: 16px !important;
		color: var(--schwarz) !important;
		font-weight: bold !important;
	}
	.leaflet-popup-content .title:hover {
		color: var(--asphalt) !important;
	}
	.leaflet-popup-content .categories {
		font-size: 14px !important;
		line-height: 18px !important;
	}
	.leaflet-top, .leaflet-bottom {
		z-index: 900;
	}


/* Splide */
	.projectimg {
		aspect-ratio: 3 / 2;
		width: 100%;
		height: auto;
		display: block;
		filter: grayscale(100%);
	}


/* Category list */
	.catlist {
		display: flex;
		row-gap: 12px;
		column-gap: 9px;
		flex-wrap: wrap;
		margin: 1em 0 0 0;
	}
	.single-projekt .catlist {
		margin: 1em 0 1em 0;
	}
	.catlist a {
		display: inline-block;
		border-radius: 100px;
		text-decoration: none !important;
		background-color: var(--stahlgrau-20);
		font-weight: bold;
		padding: 10px 28px 12px 28px;
	}
	.catlist a.is-highlight {
		background-color: var(--stahlgrau-100);
		color: var(--weiss);
	}
	.catlist a:hover {
		color: var(--nussbraun-100);
		background-color: var(--honigorange-100);
		text-decoration: underline !important;
	}
	.catlist a.is-active,
	.catlist a.is-active:hover {
		text-decoration: underline !important;
		border: 2px solid var(--honigorange-100);
		padding: 8px 26px 10px 26px;
		background: var(--weiss);
		color: var(--stahlgrau-100);
		font-weight: normal;
	}

/* Contact form 7 */
	.wpcf7 input[type="text"],
	.wpcf7 input[type="email"],
	.wpcf7 input[type="tel"],
	.wpcf7 input[type="url"],
	.wpcf7 textarea,
	.wpcf7 select {
		width: 100%;
		padding: 0.75em 1em;
		border: 1px solid var(--stahlgrau-100);
		font-size: 1rem;
		box-sizing: border-box;
		transition: border-color 0.3s ease, background 0.3s ease;
		background-color: var(--nussbraun-10);
		margin: 0 0 0.5em 0;
	}

	/* Fokus-Stil */
	.wpcf7 input:focus,
	.wpcf7 textarea:focus,
	.wpcf7 select:focus,
	.wpcf7 input:active,
	.wpcf7 textarea:active,
	.wpcf7 select:active {
		border-color: var(--stahlgrau-20) !important;
		background-color: white;
	}

	/* Fehlermeldungen */
	.wpcf7-not-valid {
		border-color: #dc3232;
	}

	.wpcf7-response-output {
		margin-top: 1em;
		padding: 1em;
		border-radius: 6px;
		font-weight: 600;
	}

	.wpcf7-validation-errors {
		border: 2px solid #dc3232;
		background-color: #fbeaea;
		color: #a00;
	}

	.wpcf7-mail-sent-ok {
		border: 2px solid #46b450;
		background-color: #e7f5ea;
		color: #2e7d32;
	}

	.wpcf7 input[type="submit"] {
		margin: 1em 0 0 0;
		font-weight: bold;
		border-radius: 100px;
	}


	/* Mehrstufige Formulare */
	.cf7mls_next {
		background: var(--stahlgrau-100) !important;
		color: var(--weiss) !important;
		border-radius: 99px !important;
		padding: 10px 20px !important;
	}
	.cf7mls_next:hover {
		background: var(--schwarz) !important;
		color: var(--weiss) !important;
	}
	.cf7mls_back {
		background: var(--weiss) !important;
		color: var(--stahlgrau-60) !important;
		border-radius: 99px !important;
		padding: 10px 20px !important;
	}
	.cf7mls_back:hover {
		background: var(--stahlgrau-80) !important;
		color: var(--weiss) !important;
	}


/* Projektkategorien */
	.projektkategorien {
		list-style: none !important;
		margin: 0 !important;
		padding: 0 !important;
		display: flex;
		flex-direction: row;
		column-gap: 1.25em;
		row-gap: .5em;
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
	}
	@media (max-width: 768px) {
		.projektkategorien {
			flex-direction: column;
		}
	}
	.projektkategorien__itemLink {
		color: var(--stahlgrau-100);
		text-decoration: none !important;
		padding: 0.33rem 0;
	}
	.projektkategorien__itemLink:hover {
		color: var(--schwarz);
		border-bottom: 2px solid var(--stahlgrau-20);
	}
	.projektkategorien__itemLink.active {
		color: var(--schwarz);
		border-bottom: 2px solid var(--honigorange-100);
	}
	.projektkategorien__itemLink.active:hover {
		border-bottom: 2px solid var(--stahlgrau-100);
	}




/*Header */
	.site-header{
		border-bottom: 2px solid var(--border-color);
		z-index: 100;
		position: sticky;
		top:0;
	}

	@media(max-width:1024px)and (min-width:768px) {
		.inside-header {
			padding: 10px 30px 10px 30px;
		}
	}

	@media (max-width: 768px) {
		.site-header .header-image {
			width: 160px;
		}
	}


.menu-item a[aria-current="page"] {
	font-weight: bold
}

.headline strong {
	font-family: Roboto Slab;
	text-transform: lowercase;
	color: var(--stahlgrau-100);
	font-size: 85%;
}



/* Animation startseite */
	.grow1 {
		animation: grow1 10s infinite ease-in-out;
	}

	.grow2 {
		animation: grow2 15s infinite ease-in-out;
	}
	.grow3 {
		animation: grow1 10s infinite ease-in-out;
		animation-direction: reverse;
	}

	.grow4 {
		animation: grow2 30s infinite ease-in-out;
		animation-direction: reverse;
	}

	/* Keyframes: Links wächst, rechts schrumpft und umgekehrt */
	@keyframes grow1 {
		0%   { flex-basis: 50%; }
		25%  { flex-basis: 65%; }
		50%  { flex-basis: 40%; }
		75%  { flex-basis: 65%; }
		100% { flex-basis: 50%; }
	}

	@keyframes grow2 {
		0%   { flex-basis: 50%; }
		25%  { flex-basis: 35%; }
		50%  { flex-basis: 60%; }
		75%  { flex-basis: 35%; }
		100% { flex-basis: 50%; }
	}

	@media (prefers-reduced-motion: reduce) {   
		* {
			animation: none !important;
			transition: none !important;
		}
	}




.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	border-bottom: 2px solid var(--honigorange-100);
}


.claim strong {
	margin-right: 0.125em;
}
