/* ==========================================================================
   Blumenhof Kerst – Theme-Styles
   ========================================================================== */

:root {
	--bk-green: #6db546;
	--bk-green-dark: #579038;
	--bk-forest: #344642;
	--bk-mint: #e8f1f0;
	--bk-mint-light: #fafcfc;
	--bk-orange: #f58220;
	--bk-pink: #da5d9d;
	--bk-text: #000;
	--bk-muted: #7a7c7b;
	--bk-line: #d6dad9;
	--bk-radius: 16px;
	--bk-shadow: 2px 2px 16px 5px rgba(52, 70, 66, 0.08);
	--bk-max: 75rem;
	--bk-gutter: 1.5rem;
	--bk-font: "Urbanist", "Helvetica Neue", Arial, sans-serif;
	--bk-script: "Kaushan Script", "Brush Script MT", cursive;
}

/* Grundlagen
   ------------------------------------------------------------------------ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--bk-font);
	font-weight: 500;
	font-size: 18px;
	line-height: 1.5;
	color: var(--bk-text);
	background: #fff;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--bk-green-dark);
	transition: color 0.3s ease-in-out;
}

a:hover {
	color: var(--bk-forest);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--bk-font);
	font-weight: 600;
	line-height: 1.3;
	color: var(--bk-forest);
	margin: 0 0 1rem;
}

h1 {
	font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4rem);
}

h2 {
	font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem);
}

h3 {
	font-size: 1.5rem;
}

p {
	margin: 0 0 1rem;
}

.bk-script {
	font-family: var(--bk-script);
	font-weight: 400;
	color: var(--bk-green);
	margin-left: 0.2em;
}

.bk-center,
.has-text-align-center {
	text-align: center;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.bk-skip:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	z-index: 1000;
	top: 1rem;
	left: 1rem;
	padding: 0.75rem 1.25rem;
	background: #fff;
	color: var(--bk-forest);
	border-radius: 100px;
	box-shadow: var(--bk-shadow);
}

/* Buttons
   ------------------------------------------------------------------------ */

.bk-button,
.wp-block-button__link,
.wp-element-button {
	display: inline-block;
	padding: 12px 2rem;
	font-family: var(--bk-font);
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 1px;
	line-height: 1.5;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	border: 1px solid transparent;
	border-radius: 100px;
	background: var(--bk-green);
	color: #000;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
}

.bk-button:hover,
.wp-block-button__link:hover,
.wp-element-button:hover {
	background: var(--bk-forest);
	color: #fff;
}

.bk-button--dark {
	background: var(--bk-forest);
	color: #fff;
}

.bk-button--dark:hover {
	background: var(--bk-green);
	color: #000;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: #fff;
	color: #000;
	border-color: #fff;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--bk-forest);
	border-color: var(--bk-forest);
	color: #fff;
}

.bk-content .wp-block-buttons,
.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 1.5rem 0 0;
}

/* Kopfbereich & Menü
   ------------------------------------------------------------------------ */

.bk-header {
	position: relative;
	z-index: 50;
	background: #fff;
}

.bk-header__inner {
	max-width: calc(var(--bk-max) + 2 * var(--bk-gutter));
	margin: 0 auto;
	padding: 2rem var(--bk-gutter) 0.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.bk-logo {
	flex: 0 0 100%;
	display: flex;
	justify-content: center;
	padding-bottom: 1rem;
}

.bk-logo img {
	width: 266px;
	height: auto;
}

.bk-nav {
	flex: 0 0 100%;
}

.bk-menu,
.bk-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bk-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem 0.5rem;
}

.bk-menu > li {
	position: relative;
}

.bk-menu a {
	position: relative;
	z-index: 1;
	display: inline-block;
	padding: 0.85rem 0.9rem;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	color: #000;
	transition: color 0.3s ease;
}

/* Hover-Effekt: Fläche wächst von unten nach oben */
.bk-menu > li > a::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 0;
	background: var(--bk-forest);
	transition: height 0.3s ease;
}

.bk-menu > li > a:hover,
.bk-menu > li.current-menu-item > a,
.bk-menu > li.current_page_item > a,
.bk-menu > li.current_page_parent > a {
	color: #fff;
}

.bk-menu > li > a:hover::after,
.bk-menu > li.current-menu-item > a::after,
.bk-menu > li.current_page_item > a::after,
.bk-menu > li.current_page_parent > a::after {
	height: 100%;
}

/* Untermenüs (Bildergalerie → Floristik → …) */
.bk-menu .sub-menu {
	position: absolute;
	z-index: 20;
	top: 100%;
	left: 0;
	min-width: 13rem;
	padding: 0.25rem 0;
	background: #fff;
	box-shadow: var(--bk-shadow);
	visibility: hidden;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.bk-menu .sub-menu li {
	position: relative;
}

.bk-menu .sub-menu .sub-menu {
	top: 0;
	left: 100%;
	transform: translateX(6px);
}

.bk-menu li:hover > .sub-menu,
.bk-menu li:focus-within > .sub-menu {
	transform: none;
}

.bk-menu .menu-item-has-children > a::before {
	content: "";
	display: inline-block;
	width: 0.4em;
	height: 0.4em;
	margin: 0 0.5em 0.2em 0;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	order: 2;
}

/* Pfeil rechts neben dem Text */
.bk-menu .menu-item-has-children > a {
	display: inline-flex;
	align-items: center;
}

.bk-menu > .menu-item-has-children > a::before {
	margin: 0 0 0.25em 0.55em;
}

.bk-menu .sub-menu .menu-item-has-children > a {
	display: flex;
	justify-content: space-between;
}

.bk-menu .sub-menu .menu-item-has-children > a::before {
	transform: rotate(-45deg);
	margin: 0 0 0 0.75em;
}

.bk-menu li:hover > .sub-menu,
.bk-menu li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
}

.bk-menu .sub-menu a {
	display: block;
	padding: 0.85rem 1rem;
	font-size: 0.85rem;
}

.bk-menu .sub-menu a:hover,
.bk-menu .sub-menu .current-menu-item > a {
	background: var(--bk-forest);
	color: #fff;
}

/* Burger-Button */
.bk-menu-toggle {
	display: none;
	position: relative;
	z-index: 60;
	width: 46px;
	height: 46px;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.bk-menu-toggle__box {
	position: absolute;
	left: 8px;
	top: 50%;
	width: 30px;
	height: 3px;
}

.bk-menu-toggle__box span,
.bk-menu-toggle__box span::before,
.bk-menu-toggle__box span::after {
	position: absolute;
	left: 0;
	width: 30px;
	height: 3px;
	background: #000;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.bk-menu-toggle__box span {
	top: 0;
}

.bk-menu-toggle__box span::before,
.bk-menu-toggle__box span::after {
	content: "";
}

.bk-menu-toggle__box span::before {
	top: -11px;
}

.bk-menu-toggle__box span::after {
	top: 11px;
}

.bk-menu-open .bk-menu-toggle__box span {
	transform: rotate(45deg);
}

.bk-menu-open .bk-menu-toggle__box span::before {
	opacity: 0;
}

.bk-menu-open .bk-menu-toggle__box span::after {
	transform: translateY(-11px) rotate(-90deg);
}

.bk-nav__footer,
.bk-sub-toggle {
	display: none;
}

@media (max-width: 1100px) {
	.bk-header__inner {
		padding: 0.85rem var(--bk-gutter);
		justify-content: space-between;
		flex-wrap: nowrap;
	}

	.bk-logo {
		flex: 0 1 auto;
		padding: 0;
	}

	.bk-logo img {
		width: 170px;
	}

	.bk-menu-toggle {
		display: block;
		margin-right: -8px;
	}

	/* Logo und Schließen-Knopf bleiben über dem Menü sichtbar */
	.bk-menu-open .bk-logo {
		position: relative;
		z-index: 60;
	}

	/* Vollbild-Menü */
	.bk-nav {
		position: fixed;
		inset: 0;
		z-index: 55;
		display: flex;
		flex-direction: column;
		padding: 96px var(--bk-gutter) calc(24px + env(safe-area-inset-bottom, 0px));
		overflow-y: auto;
		background: #fff;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
	}

	.admin-bar .bk-nav {
		top: 46px;
	}

	.bk-menu-open .bk-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.bk-menu-open {
		overflow: hidden;
	}

	.bk-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		border-top: 1px solid var(--bk-line);
	}

	.bk-menu > li {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		border-bottom: 1px solid var(--bk-line);
	}

	.bk-menu > li > a,
	.bk-menu .menu-item-has-children > a {
		display: block;
		flex: 1 1 auto;
		padding: 1.05rem 0.25rem;
		font-size: 1.15rem;
		font-weight: 600;
		letter-spacing: 0.5px;
		text-align: left;
		color: var(--bk-forest);
	}

	/* Kein Hover-Balken, stattdessen grüner Text + Punkt für die aktuelle Seite */
	.bk-menu > li > a::after {
		display: none;
	}

	.bk-menu > li > a:hover,
	.bk-menu > li.current-menu-item > a,
	.bk-menu > li.current_page_item > a,
	.bk-menu > li.current_page_parent > a,
	.bk-menu > li.current-menu-ancestor > a {
		color: var(--bk-green-dark);
	}

	.bk-menu li.current-menu-item > a::before {
		content: "";
		display: inline-block;
		width: 8px;
		height: 8px;
		margin: 0 10px 2px 0;
		border-radius: 50%;
		background: var(--bk-green);
	}

	.bk-menu .menu-item-has-children > a::before {
		display: none;
	}

	/* Aufklapp-Knopf für Untermenüs */
	.bk-sub-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 44px;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var(--bk-mint);
		color: var(--bk-forest);
		cursor: pointer;
	}

	.bk-sub-toggle::before {
		content: "";
		width: 9px;
		height: 9px;
		margin-top: -4px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
		transition: transform 0.2s ease, margin 0.2s ease;
	}

	.is-open > .bk-sub-toggle {
		background: var(--bk-green);
		color: #fff;
	}

	.is-open > .bk-sub-toggle::before {
		margin-top: 4px;
		transform: rotate(-135deg);
	}

	/* Untermenüs als Akkordeon */
	.bk-menu .sub-menu,
	.bk-menu .sub-menu .sub-menu {
		position: static;
		display: none;
		flex: 0 0 100%;
		min-width: 0;
		margin: 0 0 0.75rem;
		padding: 0.25rem 0;
		visibility: visible;
		opacity: 1;
		transform: none;
		box-shadow: none;
		text-align: left;
		border-radius: 12px;
		background: var(--bk-mint);
	}

	.bk-menu .is-open > .sub-menu {
		display: block;
	}

	.bk-menu .sub-menu li {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		padding-right: 6px;
	}

	.bk-menu .sub-menu a,
	.bk-menu .sub-menu .menu-item-has-children > a {
		display: block;
		flex: 1 1 auto;
		padding: 0.8rem 1rem;
		font-size: 1rem;
		font-weight: 500;
		text-transform: none;
		letter-spacing: 0;
		color: var(--bk-forest);
		background: none;
	}

	.bk-menu .sub-menu a:hover,
	.bk-menu .sub-menu .current-menu-item > a {
		background: none;
		color: var(--bk-green-dark);
		font-weight: 700;
	}

	.bk-menu .sub-menu .bk-sub-toggle {
		flex-basis: 36px;
		width: 36px;
		height: 36px;
		background: #fff;
	}

	/* dritte Ebene: eingerückt mit Linie */
	.bk-menu .sub-menu .sub-menu {
		margin: 0 0.75rem 0.5rem 1rem;
		padding: 0;
		border-left: 2px solid var(--bk-green);
		border-radius: 0;
		background: none;
	}

	.bk-menu .sub-menu .sub-menu a {
		padding: 0.6rem 1rem;
		font-size: 0.95rem;
	}

	/* Schnellzugriff unten */
	.bk-nav__footer {
		display: flex;
		flex-wrap: wrap;
		gap: 12px;
		margin-top: auto;
		padding-top: 28px;
	}

	.bk-nav__footer .bk-button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		flex: 1 1 140px;
		padding: 12px 1rem;
		font-size: 0.95rem;
	}

	.bk-nav__footer .bk-icon {
		width: 18px;
		height: 18px;
		fill: currentColor;
	}

	.bk-button--primary {
		background: var(--bk-green);
		color: #000;
	}

	.bk-button--outline {
		background: #fff;
		border-color: var(--bk-forest);
		color: var(--bk-forest);
	}
}

/* Inhalt: Abschnitte, Spalten
   ------------------------------------------------------------------------ */

.bk-main {
	display: block;
}

.bk-content > *:not(.bk-hero):not(.bk-band) {
	margin-left: auto;
	margin-right: auto;
}

.bk-section {
	max-width: calc(var(--bk-max) + 2 * var(--bk-gutter));
	margin: 0 auto;
	padding: 100px var(--bk-gutter);
}

/* Freie Blöcke, die im Editor direkt (ohne Abschnitt) eingefügt werden */
.bk-content > .wp-block-paragraph,
.bk-content > p,
.bk-content > .wp-block-heading,
.bk-content > .wp-block-image,
.bk-content > .wp-block-gallery,
.bk-content > .wp-block-columns,
.bk-content > .wp-block-buttons,
.bk-content > .wp-block-list,
.bk-content > ul,
.bk-content > ol {
	max-width: calc(var(--bk-max));
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--bk-gutter);
	padding-right: var(--bk-gutter);
}

.bk-content > .wp-block-heading:first-child,
.bk-content > p:first-child {
	padding-top: 60px;
}

.bk-content .wp-block-columns {
	display: flex;
	flex-wrap: nowrap !important;
	gap: 80px;
	align-items: center !important;
	margin: 0;
}

.wp-block-column {
	flex: 1 1 0;
	min-width: 0;
}

.wp-block-column[style*="flex-basis"] {
	flex-grow: 0;
	flex-shrink: 1;
}

/* Bei Breitenangaben die Lücke berücksichtigen */
.wp-block-columns:has(> .wp-block-column[style*="flex-basis"]) > .wp-block-column {
	flex-grow: 1;
	flex-shrink: 1;
}

.wp-block-column > *:last-child,
.wp-block-group > *:last-child {
	margin-bottom: 0;
}

.bk-rounded img,
.wp-block-image.bk-rounded img {
	width: 100%;
	border-radius: var(--bk-radius);
}

.wp-block-image {
	margin: 0 0 1rem;
}

@media (max-width: 975px) {
	.bk-section {
		padding: 70px 60px;
	}

	.bk-content .wp-block-columns {
		flex-wrap: wrap !important;
		gap: 40px;
	}

	.bk-content .wp-block-columns > .wp-block-column,
	.bk-content .wp-block-columns > .wp-block-column[style*="flex-basis"] {
		flex-basis: 100% !important;
	}
}

@media (max-width: 575px) {
	:root {
		--bk-gutter: 24px;
	}

	.bk-section {
		padding: 46px var(--bk-gutter);
	}

	body {
		font-size: 17px;
	}
}

/* Startseite: Hero
   ------------------------------------------------------------------------ */

.bk-hero {
	background: var(--bk-green);
	padding: 4rem var(--bk-gutter) 268px;
}

.bk-content .bk-hero > .wp-block-columns {
	max-width: var(--bk-max);
	margin: 0 auto;
	gap: 80px;
}

.bk-hero .wp-block-column:last-child .wp-block-image {
	max-width: 500px;
	margin-left: auto;
}

.bk-hero h1 {
	margin-bottom: 1.5rem;
}

.bk-hero .bk-script,
.bk-hero .bk-script-line {
	color: #fff;
}

.bk-hero .wp-block-button > .wp-block-button__link {
	background: #fff;
	color: #000;
	border: 1px solid #fff;
}

.bk-hero .wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: #fff;
}

.bk-hero .wp-block-button > .wp-block-button__link:hover {
	background: var(--bk-forest);
	border-color: var(--bk-forest);
	color: #fff;
}

.bk-hero .bk-script {
	margin-left: 0.05em;
}

.bk-hero p {
	max-width: 546px;
}

.bk-hero .wp-block-image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--bk-radius);
}

@media (max-width: 975px) {
	.bk-hero {
		padding: 50px 60px 383px;
	}

	.bk-hero .wp-block-column:last-child {
		order: -1;
	}

	.bk-hero .wp-block-image {
		display: flex;
		justify-content: flex-end;
		margin-bottom: -65px;
	}

	.bk-hero .wp-block-image img {
		width: 45%;
	}
}

@media (max-width: 575px) {
	.bk-hero {
		padding: 50px var(--bk-gutter) 254px;
	}

	.bk-hero .wp-block-image {
		margin-bottom: 0;
	}

	.bk-hero .wp-block-image img {
		width: 100%;
	}

	.bk-hero .wp-block-button {
		flex: 1 1 100%;
	}

	.bk-hero .wp-block-button__link {
		width: 100%;
	}
}

/* Karten: "Unser Angebot" (überlappt den Hero) & "Unsere Prioritäten"
   ------------------------------------------------------------------------ */

.bk-card {
	position: relative;
	z-index: 2;
	max-width: var(--bk-max);
	background: #fff;
	border-radius: var(--bk-radius);
	box-shadow: var(--bk-shadow);
	padding: 80px 60px;
	text-align: center;
}

.bk-hero + .bk-offer {
	margin-top: -160px;
}

.bk-card > .wp-block-heading {
	margin-bottom: 60px;
}

.bk-content .bk-card > .wp-block-columns {
	gap: 2rem;
	align-items: stretch !important;
}

.bk-card-item {
	height: 100%;
}

.bk-card-item {
	position: relative;
	padding-top: 104px;
}

/* Mint-Kreis */
.bk-card-item::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 80px;
	height: 80px;
	margin-left: -40px;
	border-radius: 50%;
	background: var(--bk-mint);
}

/* Icon im Kreis */
.bk-card-item::before {
	content: "";
	position: absolute;
	z-index: 1;
	top: 22px;
	left: 50%;
	width: 36px;
	height: 36px;
	margin-left: -18px;
	background-color: var(--bk-green);
	-webkit-mask: var(--bk-icon) center / contain no-repeat;
	mask: var(--bk-icon) center / contain no-repeat;
}

.bk-offer .bk-card-item h3 {
	font-size: 1.2rem;
}

.bk-card-item h3 {
	margin-bottom: 0.5rem;
}

.bk-offer--pflanzen,
.bk-offer--frische {
	--bk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 60V34'  stroke='black' stroke-width='4' stroke-linecap='round' fill='none'/%3E%3Cpath d='M32 36C32 20 42 10 58 8c0 16-10 28-26 28Z'/%3E%3Cpath d='M32 44C32 32 24 24 8 22c0 12 8 22 24 22Z'/%3E%3C/svg%3E");
}

.bk-offer--floristik {
	--bk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='18' r='7'/%3E%3Ccircle cx='32' cy='6' r='6'/%3E%3Ccircle cx='32' cy='30' r='6'/%3E%3Ccircle cx='20' cy='18' r='6'/%3E%3Ccircle cx='44' cy='18' r='6'/%3E%3Cpath d='M32 34v26M32 52c-6-8-14-10-20-8 4 8 12 10 20 8Zm0 0c6-8 14-10 20-8-4 8-12 10-20 8Z' stroke='black' stroke-width='4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
}

.bk-offer--obst,
.bk-offer--region {
	--bk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 18c-6-6-24-4-24 16 0 16 12 28 18 28 3 0 4-2 6-2s3 2 6 2c6 0 18-12 18-28 0-20-18-22-24-16Z'/%3E%3Cpath d='M32 20c0-8 4-14 10-16' stroke='black' stroke-width='4' stroke-linecap='round' fill='none'/%3E%3Cpath d='M34 12c6-8 16-8 20-4-6 6-14 6-20 4Z'/%3E%3C/svg%3E");
}

.bk-offer--deko {
	--bk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 2l7 19 19 7-19 7-7 19-7-19-19-7 19-7Z'/%3E%3Cpath d='M52 42l3 8 8 3-8 3-3 8-3-8-8-3 8-3Z'/%3E%3Cpath d='M12 44l2 5 5 2-5 2-2 5-2-5-5-2 5-2Z'/%3E%3C/svg%3E");
}

.bk-offer--umwelt {
	--bk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill-rule='evenodd' d='M10 54C6 30 22 8 58 6c2 34-20 50-44 48Zm-2 6 2 2c9-16 20-28 34-38l-2-2C28 32 17 44 8 60Z'/%3E%3C/svg%3E");
}

.bk-offer--preise {
	--bk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill-rule='evenodd' d='M4 34 30 8h26v26L30 60ZM46 13a5 5 0 1 0 0 10 5 5 0 0 0 0-10Z'/%3E%3C/svg%3E");
}

.bk-offer .bk-card-item::before {
	background-color: var(--bk-green);
}

@media (max-width: 975px) {
	.bk-hero + .bk-offer {
		margin-top: -290px;
	}

	.bk-card {
		margin-left: 60px !important;
		margin-right: 60px !important;
	}

	.bk-card > .wp-block-columns > .wp-block-column {
		flex-basis: calc(50% - 1rem) !important;
	}
}

@media (max-width: 575px) {
	.bk-hero + .bk-offer {
		margin-top: -150px;
	}

	.bk-card {
		padding: 60px 24px;
		margin-left: 24px !important;
		margin-right: 24px !important;
	}

	.bk-card > .wp-block-heading {
		margin-bottom: 30px;
	}

	.bk-card > .wp-block-columns > .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* Bild + Text
   ------------------------------------------------------------------------ */

.bk-split .wp-block-image img,
.bk-services .wp-block-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.bk-services > .wp-block-heading {
	margin-bottom: 60px;
}

.bk-services > .wp-block-columns + .wp-block-columns {
	margin-top: 80px;
}

@media (max-width: 975px) {
	.bk-split .wp-block-image,
	.bk-services .wp-block-image {
		display: flex;
		justify-content: center;
	}

	.bk-split .wp-block-image img,
	.bk-services .wp-block-image img {
		width: 70%;
	}

	.bk-services .bk-reverse > .wp-block-column:last-child {
		order: -1;
	}
}

@media (max-width: 575px) {
	.bk-split .wp-block-image img,
	.bk-services .wp-block-image img {
		width: 100%;
	}
}

/* Grünes Band (Galerie-Vorschau, Meilensteine)
   ------------------------------------------------------------------------ */

.bk-band {
	background: var(--bk-green);
}

.bk-band h2,
.bk-band h3 {
	color: var(--bk-forest);
}

.bk-band .wp-block-button__link {
	background: #fff;
	color: #000;
}

.bk-band .wp-block-button__link:hover {
	background: var(--bk-forest);
	color: #fff;
}

.bk-content .bk-band__head {
	align-items: center !important;
	margin-bottom: 60px !important;
}

.bk-band__head > .wp-block-column:first-child {
	flex: 0 1 576px;
}

.bk-band__head > .wp-block-column:last-child {
	flex: 0 0 auto;
	margin-left: auto;
}

.bk-band__head .wp-block-buttons {
	margin: 0;
}

@media (max-width: 975px) {
	.bk-band__head > .wp-block-column:first-child {
		flex-basis: 70% !important;
	}

	.bk-band__head > .wp-block-column:last-child {
		flex-basis: auto !important;
		margin-left: 0;
	}
}

@media (max-width: 575px) {
	.bk-band__head {
		margin-bottom: 30px !important;
	}

	.bk-band__head .wp-block-button,
	.bk-band__head .wp-block-button__link {
		width: 100%;
	}

	.bk-band__head > .wp-block-column:last-child {
		flex-basis: 100% !important;
	}
}

/* Meilensteine */
.bk-stats {
	text-align: center;
}

.bk-stats > .wp-block-heading {
	margin-bottom: 60px;
}

.bk-content .bk-stats .wp-block-columns {
	align-items: flex-start !important;
}

.bk-stat {
	font-size: clamp(2.8rem, 2rem + 3vw, 4.5rem);
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
	margin-bottom: 0.5rem;
}

@media (max-width: 975px) {
	.bk-stats .wp-block-columns > .wp-block-column {
		flex-basis: calc(33.333% - 27px) !important;
	}
}

@media (max-width: 575px) {
	.bk-stats .wp-block-columns > .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* Team */
.bk-team {
	text-align: center;
}

.bk-team > .wp-block-heading {
	margin-bottom: 60px;
}

.bk-content .bk-team .wp-block-columns {
	align-items: flex-start !important;
	gap: 40px;
}

.bk-team .wp-block-image img {
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.bk-team .wp-block-image {
	margin-bottom: 1.5rem;
}

.bk-team h3 {
	margin-bottom: 0.25rem;
}

@media (max-width: 975px) {
	.bk-team .wp-block-columns > .wp-block-column {
		flex-basis: calc(50% - 20px) !important;
	}
}

@media (max-width: 575px) {
	.bk-team .wp-block-columns > .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* Galerien
   ------------------------------------------------------------------------ */

.bk-intro {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 60px;
}

.bk-intro .wp-block-buttons {
	justify-content: center;
}

.wp-block-gallery.bk-gallery,
.bk-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
}

.bk-gallery > .wp-block-image {
	margin: 0 !important;
	width: auto !important;
	overflow: hidden;
	border-radius: var(--bk-radius);
}

.bk-gallery > .wp-block-image img {
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--bk-radius);
	transition: transform 0.4s ease;
}

.bk-gallery > .wp-block-image:hover img {
	transform: scale(1.04);
}

@media (max-width: 975px) {
	.bk-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575px) {
	.bk-gallery {
		gap: 12px;
	}
}

/* Öffnungszeiten
   ------------------------------------------------------------------------ */

.wp-block-table.bk-hours {
	margin: 2rem 0 0;
	padding: 1.25rem 2rem;
	background: var(--bk-mint);
	border-radius: var(--bk-radius);
	box-shadow: var(--bk-shadow);
	overflow: hidden;
}

.bk-hours table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
}

.bk-hours td,
.bk-hours tr {
	border: 0;
}

.bk-hours tr + tr td {
	border-top: 1px solid rgba(52, 70, 66, 0.12);
}

.bk-hours td {
	padding: 1rem 0;
	font-size: 1.1rem;
	font-variant-numeric: tabular-nums;
	background: none;
}

.bk-hours td:first-child {
	font-weight: 600;
	color: var(--bk-forest);
}

.bk-hours td:last-child {
	text-align: right;
	font-weight: 600;
}

/* Geschlossen: gedämpft */
.bk-hours tr.is-closed td {
	color: var(--bk-muted);
	font-weight: 500;
}

/* Heute hervorheben (per JavaScript gesetzt) */
.bk-hours tr.is-today td {
	color: var(--bk-forest);
	font-weight: 700;
}

.bk-hours tr.is-today td:first-child::after {
	content: "Heute";
	display: inline-block;
	margin-left: 0.75rem;
	padding: 0.15rem 0.65rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	vertical-align: middle;
	color: #fff;
	background: var(--bk-green);
	border-radius: 100px;
}

@media (max-width: 575px) {
	.wp-block-table.bk-hours {
		padding: 0.5rem 1.25rem;
	}

	.bk-hours td {
		font-size: 1rem;
	}
}

/* Kontaktbereich + Formular
   ------------------------------------------------------------------------ */

.bk-contact .wp-block-columns {
	align-items: center;
}

.bk-contact .wp-block-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

@media (max-width: 975px) {
	.bk-contact .wp-block-column:first-child {
		display: none;
	}
}

.bk-form {
	margin-top: 2rem;
}

.bk-form p {
	margin: 0 0 1rem;
}

.bk-form input[type="text"],
.bk-form input[type="email"],
.bk-form input[type="tel"],
.bk-form textarea {
	width: 100%;
	padding: 14px 20px;
	font: inherit;
	color: #000;
	background: var(--bk-mint);
	border: 1px solid transparent;
	border-radius: 12px;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.bk-form textarea {
	min-height: 150px;
	resize: vertical;
}

.bk-form input:focus,
.bk-form textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--bk-green);
}

.bk-form__check {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.95rem;
}

.bk-form__check input {
	width: 20px;
	height: 20px;
	margin: 0.15rem 0 0;
	accent-color: var(--bk-green);
	flex: 0 0 auto;
}

.bk-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bk-form__notice {
	padding: 1rem 1.25rem;
	border-radius: 12px;
	font-weight: 600;
}

.bk-form__notice--success {
	background: #e3f3da;
	color: #2d5a17;
}

.bk-form__notice--error {
	background: #fbe3e5;
	color: #8a1c26;
}

@media (max-width: 575px) {
	.bk-form .bk-button {
		width: 100%;
	}
}

/* Aktuell / Beiträge
   ------------------------------------------------------------------------ */

.bk-news > h2 {
	margin-bottom: 60px;
}

.bk-news__empty {
	font-size: 1.6rem;
	margin-bottom: 1rem;
}

.bk-news__list {
	display: grid;
	gap: 40px;
}

.bk-news__item {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 40px;
	align-items: center;
	padding: 40px;
	border-radius: var(--bk-radius);
	box-shadow: var(--bk-shadow);
}

.bk-news__item:not(:has(.bk-news__image)) {
	grid-template-columns: 1fr;
}

.bk-news__image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--bk-radius);
}

.bk-news__date {
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--bk-green-dark);
	margin-bottom: 0.25rem;
}

.bk-news__item h3 a {
	color: inherit;
	text-decoration: none;
}

.bk-single {
	max-width: calc(860px + 2 * var(--bk-gutter));
}

.bk-single__image {
	margin: 2rem 0;
}

.bk-single__image img {
	width: 100%;
	border-radius: var(--bk-radius);
}

.bk-single__body > * {
	margin-bottom: 1.25rem;
}

.nav-links {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	margin-top: 40px;
}

.page-numbers {
	padding: 0.5rem 0.9rem;
	border-radius: 100px;
	text-decoration: none;
	color: #000;
}

.page-numbers.current {
	background: var(--bk-green);
}

@media (max-width: 767px) {
	.bk-news__item {
		grid-template-columns: 1fr;
		padding: 24px;
		gap: 24px;
	}
}

/* Rechtliches */
.bk-legal {
	max-width: calc(860px + 2 * var(--bk-gutter));
}

.bk-legal h2 {
	font-size: 1.75rem;
	margin-top: 2rem;
}

.bk-legal h3 {
	font-size: 1.25rem;
	margin-top: 1.5rem;
}

/* Fußbereich
   ------------------------------------------------------------------------ */

.bk-footer__contact {
	background: var(--bk-green);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 50px;
	padding: 60px var(--bk-gutter);
}

.bk-footer__box {
	flex: 0 1 calc((var(--bk-max) - 100px) / 3);
	text-align: center;
}

.bk-footer__box .bk-icon {
	width: 2.5rem;
	height: 2.5rem;
	margin: 0 auto 1rem;
	fill: var(--bk-forest);
}

.bk-footer__box h3 {
	margin-bottom: 0.5rem;
}

.bk-footer__box p {
	margin: 0;
}

.bk-footer__box a {
	color: #000;
	text-decoration: none;
}

.bk-footer__box a:hover {
	color: #fff;
}

.bk-footer__bottom {
	max-width: calc(var(--bk-max) + 2 * var(--bk-gutter));
	margin: 0 auto;
	padding: 30px var(--bk-gutter);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.95rem;
}

.bk-footer__bottom p {
	margin: 0;
}

.bk-footer__copy a {
	color: #000;
}

.bk-footer__copy a:hover {
	color: var(--bk-green-dark);
}

.bk-footer__social {
	display: flex;
	gap: 0.75rem;
}

.bk-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--bk-mint);
	transition: background 0.3s ease;
}

.bk-footer__social a:hover {
	background: var(--bk-green);
}

.bk-footer__social .bk-icon {
	width: 22px;
	height: 22px;
	fill: var(--bk-forest);
}

@media (max-width: 767px) {
	.bk-footer__box {
		flex-basis: 100%;
	}

	.bk-footer__bottom {
		flex-direction: column;
		text-align: center;
	}
}

/* Editor-Ansicht: Abschnitte sichtbar trennen */
.editor-styles-wrapper .bk-section {
	padding-top: 40px;
	padding-bottom: 40px;
}

.editor-styles-wrapper .bk-hero {
	padding-bottom: 60px;
}

.editor-styles-wrapper .bk-hero + .bk-offer {
	margin-top: 20px;
}

/* Feinschliff Handy
   ------------------------------------------------------------------------ */

@media (max-width: 1100px) {
	.bk-menu .sub-menu .is-open > .bk-sub-toggle {
		background: var(--bk-green);
		color: #fff;
	}

	.bk-menu .sub-menu li.current-menu-item > a::before {
		margin-right: 8px;
	}
}

@media (max-width: 575px) {
	/* Hero: Bild flacher, damit der Text schneller sichtbar ist */
	.bk-hero {
		padding-top: 24px;
	}

	.bk-hero .wp-block-image img {
		aspect-ratio: 4 / 3;
	}

	.bk-hero h1 {
		font-size: 2.3rem;
		margin-bottom: 1rem;
	}

	/* Angebot & Prioritäten: 2 × 2 statt 4 untereinander */
	.bk-content .bk-card > .wp-block-columns {
		flex-wrap: wrap !important;
		gap: 28px 12px;
	}

	.bk-content .bk-card > .wp-block-columns > .wp-block-column {
		flex: 0 0 calc(50% - 6px) !important;
	}

	.bk-card-item {
		padding-top: 76px;
	}

	.bk-card-item::after {
		width: 60px;
		height: 60px;
		margin-left: -30px;
	}

	.bk-card-item::before {
		top: 16px;
		width: 28px;
		height: 28px;
		margin-left: -14px;
	}

	.bk-card-item h3,
	.bk-offer .bk-card-item h3 {
		font-size: 1.05rem;
	}

	.bk-card-item p {
		font-size: 0.9rem;
	}

	/* Bild + Text: Bild etwas flacher */
	.bk-split .wp-block-image img,
	.bk-services .wp-block-image img {
		aspect-ratio: 4 / 3;
	}

	h2 {
		font-size: 1.75rem;
	}
}
