/*
Theme Name: Bürgerstiftung Großenlüder
Version: 1.0.10
Description: Eigenständiges responsives Theme für die Bürgerstiftung Großenlüder.
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: buergerstiftung
*/

@font-face {
	font-family: "Open Sans";
	src: url("assets/fonts/OpenSans-Regular.ttf") format("truetype");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Open Sans";
	src: url("assets/fonts/OpenSans-Bold.ttf") format("truetype");
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: "Open Sans";
	src: url("assets/fonts/OpenSans-ExtraBold.ttf") format("truetype");
	font-weight: 800;
	font-display: swap;
}
@font-face {
	font-family: "Open Sans";
	src: url("assets/fonts/OpenSans-ExtraBoldItalic.ttf") format("truetype");
	font-weight: 800;
	font-style: italic;
	font-display: swap;
}

:root {
	--blue: #082557;
	--deep-blue: #063760;
	--orange: #ed6000;
	--action: #bb4700;
	--ink: #152139;
	--warm: #f7f3ef;
	--gutter: clamp(18px, 3.4vw, 54px);
	--measure: 1320px;
	--edge: max(var(--gutter), calc((100vw - var(--measure)) / 2));
}

* { box-sizing: border-box; }
body {
	margin: 0;
	background: #fff;
	color: var(--ink);
	font: 1rem/1.55 "Open Sans", Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
	color: var(--blue);
	font-weight: 800;
	line-height: 1.16;
	overflow-wrap: break-word;
}
h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.56rem, 2.82vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.75vw, 1.5rem); }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--action); }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button, input[type="submit"] { cursor: pointer; }
:focus-visible { outline: 3px solid #1667b4; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--measure), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}
.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100;
	width: auto;
	height: auto;
	clip-path: none;
	background: white;
	padding: 10px;
}
.btn {
	display: inline-flex;
	align-items: center;
	gap: .65em;
	max-width: 100%;
	padding: .48em .9em;
	border: 2px solid transparent;
	border-radius: 8px;
	background: linear-gradient(110deg, #c74b03, #b84600);
	color: #fff;
	font-size: .95rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
}
.btn:hover { background: var(--blue); color: #fff; }
.btn-outline {
	background: #fffcf7;
	border-color: var(--orange);
	color: var(--action);
}
.more-link {
	display: inline-flex;
	gap: .5em;
	align-items: center;
	color: var(--action);
	font-weight: 800;
	text-decoration: none;
}
.more-link:hover { text-decoration: underline; }
.underlined::after {
	content: "";
	display: block;
	width: 84px;
	height: 3px;
	margin-top: .41em;
	background: var(--orange);
}

.site-header { background: #fff; position: relative; z-index: 5; }
.head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(12px, 3vw, 40px);
	min-height: clamp(88px, 10vw, 120px);
	padding-block: 8px;
}
.logo { flex: 0 1 clamp(220px, 30vw, 330px); }
body:not(.home) .head { min-height: clamp(82px, 8.8vw, 106px); }
body:not(.home) .logo { flex-basis: clamp(210px, 27.5vw, 315px); }
.logo img { display: block; width: 80%; }
.nav { flex: 0 1 auto; }
.nav ul { margin: 0; padding: 0; list-style: none; }
.nav > ul, .nav > div > ul { display: flex; gap: clamp(12px, 1.4vw, 24px); align-items: center; }
.nav li { position: relative; }
.nav a {
	display: inline-block;
	padding: 12px 0;
	font-size: clamp(.875rem, 1vw, 1rem);
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
}
.nav .current-menu-item > a,
.nav .current-menu-ancestor > a,
.nav .current_page_item > a,
.nav .current_page_ancestor > a {
	color: var(--action);
	box-shadow: inset 0 -2px var(--orange);
}
.nav .sub-menu, .nav .children {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 5;
	width: max-content;
	min-width: 190px;
	max-width: min(310px, 85vw);
	padding: 8px 14px;
	border-top: 2px solid var(--orange);
	background: #fff;
	box-shadow: 0 8px 22px #09224625;
}
.nav > ul > li:nth-last-child(-n+2) > ul,
.nav > div > ul > li:nth-last-child(-n+2) > ul { left: auto; right: 0; }
.nav li li > ul { left: auto; right: 0; top: 100%; }
.nav .is-open, .nav:not(.nav-ready) li:hover > ul, .nav:not(.nav-ready) li:focus-within > ul { display: block; }
.toggle { display: none; }
.submenu-toggle {
	background: transparent;
	color: var(--blue);
	border: 0;
	padding: 0;
	width: 20px;
	height: 32px;
	vertical-align: middle;
}
.submenu-toggle::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	border-right: 2px solid;
	border-bottom: 2px solid;
	transform: translateY(-2px) rotate(45deg);
}
.submenu-toggle[aria-expanded="true"]::before { transform: rotate(225deg); }

.hero {
	position: relative;
	isolation: isolate;
	display: grid;
	align-items: stretch;
	min-height: clamp(310px, 30vw, 460px);
	overflow: hidden;
}
.hero-image {
	position: absolute;
	z-index: -2;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 40%;
}
.hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0 auto 0 0;
	width: max(44%, calc(var(--edge) + 365px));
	background: linear-gradient(112deg, #ff9209fa, #ff7108e8 72%, #f46a12db);
	mask: url("assets/hero-shape.svg") left top / 100% 100% no-repeat;
}
.hero::after {
	content: "";
	position: absolute;
	inset: auto 0 -1px;
	height: clamp(36px, 5vw, 75px);
	background: url("assets/hero-wave.svg") bottom / 100% 100% no-repeat;
	pointer-events: none;
}
.hero-inner { display: flex; align-items: center; }
.hero-copy {
	width: min(48%, 558px);
	padding: clamp(55px, 6vw, 96px) 0 clamp(42px, 5vw, 80px) clamp(8px, 1.9vw, 28px);
	color: #fff;
}
.hero-copy h1 { margin: 0; color: #fff; text-shadow: 0 1px 3px #602002b0; }
.hero-copy h1 span {
	display: block;
	max-width: 27ch;
	font-size: clamp(1.24rem, 2.25vw, 2.05rem);
	font-weight: 700;
	line-height: 1.15;
}
.hero-copy h1 strong {
	display: block;
	width: max-content;
	max-width: min(100%, 9em);
	font-size: clamp(2rem, 4.2vw, 4rem);
	font-weight: 800;
	font-style: italic;
	line-height: 1.04;
}
.hero-copy h1 .hero-title-full { width: auto; max-width: 100%; }
.hero-copy p { max-width: 32ch; margin: 10px 0 0; }
.btn-hero {
	margin-top: .9rem;
	border-color: #fff;
	background: #843502bd;
	color: #fff;
	text-shadow: 0 1px 2px #5c1c00;
}

.home-content { padding-top: clamp(18px, 2.15vw, 30px); }
.section { padding-block: 24px; }
.promo {
	display: grid;
	grid-template-columns: 35% clamp(52px, 7.3vw, 99px) minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(8px, 1.45vw, 24px);
	min-height: clamp(151px, 15vw, 218px);
	padding: 0 clamp(12px, 1.45vw, 22px) 0 0;
	isolation: isolate;
	position: relative;
	overflow: hidden;
	border-radius: 15px;
	background: linear-gradient(115deg, #f5f5f6 35%, #e9edf2);
}
.promo.wp-block-group > .wp-block-group__inner-container { display: contents; }
.promo::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: auto 0 0 35%;
	height: min(45%, 63px);
	background: url("assets/winter-detail.svg") bottom / 100% 100% no-repeat;
	opacity: .6;
}
.promo-art {
	align-self: stretch;
	min-height: 140px;
	background: url("assets/winter.svg") center bottom / contain no-repeat, radial-gradient(ellipse at 70% 30%, #075482, #032749 85%);
	border-radius: 0 0 14% 0 / 0 0 100% 0;
}
.promo-icon { width: 100%; align-self: start; margin-top: 13px; }
.promo-copy { padding-block: 13px; }
.promo h2 {
	max-width: 19ch;
	margin: 0 0 .3em;
	font-size: clamp(1.3rem, 2.68vw, 2.25rem);
	line-height: 1.03;
}
.promo p { max-width: 38ch; margin: 0; font-size: .875rem; line-height: 1.35; }
.promo .btn { white-space: nowrap; font-size: clamp(.79rem, 1.32vw, 1rem); }

.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; }
.section-heading > a { flex: none; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.card {
	position: relative;
	min-width: 0;
	display: flex;
	flex-direction: column;
	background: linear-gradient(150deg, white, #f8f8f8);
	border: 1px solid #e8e7e5;
	border-radius: 12px;
	box-shadow: 0 2px 4px #111d301f;
}
.card:focus-within, .card:hover { box-shadow: 0 4px 12px #111d302e; }
.card-image img {
	display: block;
	width: 100%;
	aspect-ratio: 2.5;
	object-fit: cover;
	border-radius: 11px 11px 0 0;
}
.card-body { padding: 9px clamp(13px, 1.95vw, 24px) 20px; min-height: 137px; }
.meta { display: inline-flex; align-items: center; gap: .4em; color: var(--ink); font-size: .78rem; line-height: 1.35; }
.meta .icon, .card-arrow, .sidebar-arrow { color: var(--orange); }
.card h3 { margin: .12em 0 .35em; line-height: 1.16; }
.card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-excerpt { font-size: .86rem; line-height: 1.36; }
.card-excerpt p { margin: 0; }
.card-excerpt a { position: relative; z-index: 1; }
.card-arrow { position: absolute; right: 12px; bottom: 9px; width: 21px; height: 21px; pointer-events: none; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); margin-top: 12px; }
.feature {
	isolation: isolate;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: clamp(180px, 18.3vw, 265px);
	padding: 20px clamp(18px, 2.2vw, 33px) 36px;
	overflow: hidden;
	border-radius: 11px;
	box-shadow: 0 2px 4px #111d3015;
}
.feature h2 { position: relative; margin: 0; font-size: clamp(1.32rem, 2.48vw, 2.05rem); }
.feature img { position: absolute; z-index: -2; object-fit: cover; }
.feature-photo { inset: 0; width: 100%; height: 100%; }
.feature img.feature-illustration { object-position: right center; }
.feature-video { background: #063659; }
.feature-video::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #021e30d9, #05263b32); }
.feature-video h2 { max-width: 76%; color: #fff; }
.feature::after {
	content: "";
	position: absolute;
	inset: auto 0 -1px;
	height: 35px;
	background: url("assets/feature-wave.svg") bottom / 100% 100% no-repeat;
	pointer-events: none;
}
.feature-video-link { margin-top: 16px; }
.feature-video-link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.feature-merkmale { background: linear-gradient(110deg, #f8f0e5 5%, #fffaf4 53%, #eedbc5 100%); }
.feature-merkmale h2 { max-width: 70%; }
.feature-merkmale::after { background-image: url("assets/feature-wave-blue.svg"); }
.feature-motif { width: 47%; height: 100%; inset: 0 0 0 auto; object-position: center; }
.feature img[src$="merkmale.svg"] { object-fit: contain; }
.feature-merkmale .btn { position: relative; margin-top: 16px; }

.home-support { padding-bottom: clamp(27px, 4vw, 55px); }
.home-support h2 { margin: 0 0 26px; }
.support { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.support article {
	display: grid;
	grid-template-columns: clamp(45px, 6.8vw, 80px) minmax(0, 1fr);
	gap: clamp(12px, 1.65vw, 24px);
	padding-inline: clamp(12px, 2.1vw, 30px);
	align-items: start;
}
.support article:first-child { padding-left: clamp(0px, 1.5vw, 20px); }
.support article + article { border-left: 1px solid #ccc; }
.support h3, .support p { margin: 0; }
.support h3 { margin-bottom: .22em; }
.support h3 a { text-decoration: none; }
.support p { font-size: .86rem; line-height: 1.38; }

.page-banner {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: clamp(168px, 17vw, 238px);
	padding: 21px 0 clamp(24px, 3.4vw, 52px);
	background: linear-gradient(110deg, #fff3e9, #fae8d8 64%, #ffe0be);
}
.page-banner::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: -30% 0 0 auto;
	width: 36%;
	border-radius: 100% 0 0 / 100% 0 0;
	background: url("assets/town.svg") right var(--gutter) bottom 17px / min(85%, 540px) auto no-repeat,
		linear-gradient(152deg, #ff8d10, #fc8124);
	box-shadow: -32px -12px 0 #ffbe783f;
}
.page-banner::after {
	content: "";
	position: absolute;
	pointer-events: none;
	inset: auto 0 -1px;
	height: clamp(18px, 2.8vw, 42px);
	background: url("assets/banner-wave.svg") bottom / 100% 100% no-repeat;
}
.page-banner h1 { max-width: 71%; margin: 22px 0 0; letter-spacing: -.037em; }
.page-banner h1::after { width: 104px; height: 4px; }
.crumb ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 11px; margin: 0; padding: 0; list-style: none; }
.crumb li { display: inline-flex; align-items: baseline; gap: 11px; font-size: .81rem; }
.crumb li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-top: 1px solid; border-right: 1px solid; transform: translateY(-1px) rotate(45deg); }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb .icon { margin-right: .45em; color: var(--orange); }
.layout {
	display: grid;
	grid-template-columns: minmax(0, 2.03fr) minmax(218px, 1fr);
	gap: clamp(22px, 2.55vw, 40px);
	padding-block: clamp(20px, 2.4vw, 34px) clamp(32px, 4vw, 57px);
}
.layout.full { display: block; }
.entry { min-width: 0; overflow-wrap: anywhere; }
.entry iframe, .wp-caption, .alignwide { max-width: 100%; }
.entry p { margin-block: .65em; }
.layout .entry-content { font-size: 1.125rem; line-height: 1.65; }
.entry-content > :first-child { margin-top: 0; }
.entry h2:not(.is-style-bs-info h2) { margin-bottom: .5em; }
.entry h2:not(.is-style-bs-info h2)::after {
	content: "";
	display: block;
	width: 76px;
	height: 3px;
	margin-top: .35em;
	background: var(--orange);
}
.entry h3, .entry h4, .entry h5, .entry h6 { margin-block: .95em .25em; }
.reference-entry .entry-content > h3::after { content: ""; display: block; width: 67px; height: 3px; margin-top: 11px; background: var(--orange); }
.entry table { max-width: 100%; border-collapse: collapse; display: block; overflow: auto; }
.entry td, .entry th { padding: .58em .8em; border: 1px solid #d7dce3; }
.entry th { background: #f1f4f8; }
.entry img.alignleft { float: left; margin: 0 1em 1em 0; }
.entry img.alignright { float: right; margin: 0 0 1em 1em; }
.entry img.aligncenter { display: block; margin-inline: auto; }
.entry .wp-block-button__link { border-radius: 7px; }
.entry-content::after { content: ""; display: block; clear: both; }
.entry > .meta { margin-bottom: 14px; }

.page-intro { padding-top: 13px; }
.page-intro > p { max-width: 900px; }

.is-style-bs-intro,
.page-intro > p {
	min-height: 80px;
	display: flow-root;
	position: relative;
	padding-left: clamp(74px, 16.4vw, 183px);
	margin: 0 0 1.75rem;
	font-size: clamp(1.16rem, 2.12vw, 1.65rem);
	font-weight: 700;
	line-height: 1.28;
	color: var(--blue);
}
.is-style-bs-intro::before, .page-intro > p::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: clamp(52px, 13.5vw, 153px);
	border-right: 1px solid #c8c9cc;
	background: url("assets/people.svg") left center / 76% auto no-repeat;
}
.is-style-bs-info, .reference-entry .startseite-block {
	position: relative;
	padding: 17px 18px 19px clamp(90px, 16vw, 180px);
	margin-block: 28px;
	border-radius: 12px;
	background: linear-gradient(125deg, #fffaf3, #f4efea);
	overflow: hidden;
}
.is-style-bs-info::before, .reference-entry .startseite-block::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: clamp(73px, 13.5vw, 153px);
	background: url("assets/people-white.svg") center / 58% auto no-repeat, var(--deep-blue);
	border-right: 8px solid var(--orange);
	border-radius: 0 28% 45% 0;
}
.is-style-bs-info::after, .reference-entry .startseite-block::after {
	content: ""; position: absolute; inset: auto 0 0 60%; height: 19px; pointer-events: none;
	background: #ffb160; clip-path: ellipse(72% 100% at 82% 112%);
}
.is-style-bs-info h3 { font-size: clamp(1.2rem, 2.1vw, 1.7rem); }
.is-style-bs-info a { color: var(--action); font-weight: 800; }
.reference-entry .startseite-block > em { display: inline-block; margin-bottom: 8px; color: var(--blue); font-size: 1.25rem; font-weight: 800; font-style: normal; }
.reference-entry .startseite-block a { display: inline-block; margin-top: 10px; color: var(--action); font-weight: 700; }
.reference-entry .startseite-block ~ h3 + p { padding-left: 72px; background: url("assets/activity-project.svg") left 5px / 52px auto no-repeat; }
.is-style-bs-info > :first-child, .is-style-bs-activity > :first-child { margin-top: 0; }
.is-style-bs-info > :last-child, .is-style-bs-activity > :last-child { margin-bottom: 0; }
.is-style-bs-activity {
	position: relative;
	padding-left: 89px;
	min-height: 62px;
	margin-block: 10px;
	--activity-icon: url("assets/people.svg");
}
.is-style-bs-activity::before {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	width: 71px;
	height: 58px;
	border-radius: 50%;
	background: var(--activity-icon) center / 55% auto no-repeat, #faeee2;
}
.bs-activity-project { --activity-icon: url("assets/activity-project.svg"); }
.bs-activity-culture { --activity-icon: url("assets/activity-culture.svg"); }
.bs-activity-environment { --activity-icon: url("assets/activity-environment.svg"); }
.bs-activity-inclusion { --activity-icon: url("assets/heart.svg"); }
.bs-activity-bridge { --activity-icon: url("assets/activity-bridge.svg"); }

.sidebar { min-width: 0; }
.section-nav-row { font-size: .95rem; }
.section-nav-row > a { font-weight: 700; }
.section-nav a { position: relative; display: block; padding-inline-start: 1.55em; text-decoration: none; overflow-wrap: anywhere; line-height: 1.4; }
.section-nav a::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: .2em;
	width: 1em;
	height: 1em;
	background-color: var(--action);
	mask: var(--section-nav-icon) center / contain no-repeat;
	pointer-events: none;
}
.section-nav-row > a {
	--section-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7M5 9v12h5v-6h4v6h5V9'/%3E%3C/svg%3E");
}
.section-nav-children a {
	--section-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E");
}
.section-nav a:hover { text-decoration: underline; }
.section-nav a[aria-current="page"] { color: var(--action); font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; }
.section-nav-children { border-top: 1px solid #d8d1cb; margin-top: 13px; padding-top: 13px; }
.sidebar-box.section-nav ul { margin: 0; }
.sidebar-box.section-nav li { border: 0; padding: 0 0 10px calc(var(--section-depth, 0) * 12px); }
.sidebar-box.section-nav li:last-child { padding-bottom: 0; }
.news-year-controls { display: flex; gap: 8px; }
.news-year-controls select { flex: 1; width: 100%; min-width: 0; padding: 9px; border: 1px solid #a8aab0; border-radius: 6px; background: #fff; color: var(--ink); font-size: 1rem; }
.news-year-controls button { flex: none; border: 0; border-radius: 6px; padding: 8px 12px; background: var(--deep-blue); color: #fff; font-size: .875rem; }
.news-year-controls button:hover { background: var(--blue); }
.entry .wp-block-query-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 32px; font-size: .95rem; }
.wp-block-query-pagination-numbers { display: flex; flex-wrap: wrap; gap: 6px; }
.wp-block-query-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 36px; min-height: 36px; padding: 5px 9px; border-radius: 5px; text-decoration: none; }
.wp-block-query-pagination .current { background: var(--deep-blue); color: #fff; font-weight: 700; }
.wp-block-query-pagination a:hover { background: #fff0e2; color: var(--action); }
.wp-block-query-pagination-previous, .wp-block-query-pagination-next { padding: 6px 10px; border-radius: 5px; }
.sidebar label { white-space: normal !important; overflow-wrap: anywhere; }
.sidebar label a { white-space: normal; overflow-wrap: anywhere; }
.sidebar .tnp, .sidebar .tnp form, .sidebar .tnp-field { max-width: 100%; min-width: 0; }
.sidebar .tnp form { display: grid; gap: .6rem; white-space: normal; }
.sidebar .tnp input:not([type="checkbox"]):not([type="radio"]) { width: 100%; max-width: 100%; }
.sidebar-box { border-radius: 11px; background: var(--warm); padding: 15px 18px 19px; margin-bottom: 17px; }
.sidebar-box h2 { font-size: clamp(1.3rem, 2.3vw, 1.85rem); margin: 0 0 11px; }
.sidebar-box .wp-block-heading { font-size: clamp(1.3rem, 2.3vw, 1.85rem); margin: 0 0 11px; }
.sidebar-box:has(> p:empty:only-child),
.sidebar-box:has(> .wp-block-group:only-child > .wp-block-group__inner-container:empty) { display: none; }
.sidebar .wp-block-search__input { min-width: 0; border: 1px solid #a8aab0; border-radius: 6px 0 0 6px; }
.sidebar .wp-block-search__button { margin-left: 0; }
.sidebar .wp-block-latest-posts li { display: flex; flex-direction: column; position: relative; padding-right: 24px; }
.sidebar .wp-block-latest-posts__post-title { font-weight: 700; text-decoration: none; line-height: 1.3; }
.sidebar .wp-block-latest-posts__post-date { order: -1; margin-bottom: 5px; color: var(--ink); font-size: .78rem; }
.page-id-182 .entry-content .wp-block-post-template .wp-block-post-date { color: #424242; font-size: .875rem; font-weight: 700; }
.page-id-182 .entry-content .wp-block-post-template .wp-block-post-date::before,
.sidebar .wp-block-latest-posts__post-date::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background: url("assets/calendar.svg") center / contain no-repeat; }
.sidebar .wp-block-latest-posts li::after { content: ""; position: absolute; right: 0; bottom: 13px; width: 18px; height: 18px; background: url("assets/arrow.svg") center / contain no-repeat; pointer-events: none; }
.sidebar-box .underlined::after { width: 67px; }
.sidebar-box ul { padding: 0; margin: 0 0 13px; list-style: none; }
.sidebar-box li { border-bottom: 1px solid #c9c8c7; padding: 10px 4px; }
.sidebar-post { position: relative; display: grid; padding-right: 25px; gap: 3px; text-decoration: none; }
.sidebar-post-title { font-weight: 800; line-height: 1.23; }
.sidebar-arrow { position: absolute; bottom: 2px; right: -4px; font-size: 1.18rem; }
.sidebar-post:hover .sidebar-post-title { text-decoration: underline; }
.sidebar-box .more-link { font-size: .9rem; }
.search-form { display: flex; max-width: 33rem; }
.search-form label { flex: 1; min-width: 0; }
.search-field, .sidebar input[type="email"] {
	width: 100%;
	min-height: 39px;
	padding: 8px 12px;
	border: 1px solid #a8aab0;
	border-radius: 6px 0 0 6px;
	background: #fff;
	font-size: .875rem;
}
.search-form button, .sidebar .wp-block-search__button {
	flex: none;
	padding: 6px 11px;
	border: 0;
	border-radius: 0 6px 6px 0;
	color: #fff;
	background: var(--deep-blue);
}
.search-form button:hover, .sidebar .wp-block-search__button:hover { background: var(--blue); }
.search-form button .icon { font-size: 1.1rem; }
.sidebar-box:has(> .wp-block-heading:only-child):has(+ .sidebar-box .wp-block-search) {
	margin-bottom: 0;
	border-radius: 11px 11px 0 0;
	padding-bottom: 0;
}
.sidebar-box:has(> .wp-block-heading:only-child) + .sidebar-box:has(.wp-block-search) {
	border-radius: 0 0 11px 11px;
	padding-top: 7px;
}
.sidebar-box:has(> .wp-block-heading:only-child):has(+ .sidebar-box .wp-block-search) .wp-block-heading,
.sidebar-box:has(> .wp-block-heading:only-child):has(+ .sidebar-box .wp-block-tnp-minimal) .wp-block-heading { margin-bottom: 0; }
.sidebar-box:has(> .wp-block-heading:only-child):has(+ .sidebar-box .wp-block-tnp-minimal) { margin-bottom: 0; border-radius: 11px 11px 0 0; padding-bottom: 0; background: #fff2e4; }
.sidebar-box:has(> .wp-block-heading:only-child):has(+ .sidebar-box .wp-block-tnp-minimal) .wp-block-heading { padding-left: 34px; background: url("assets/mail.svg") left center / 25px auto no-repeat; }
.sidebar-box:has(> .wp-block-heading:only-child) + .sidebar-box:has(.wp-block-tnp-minimal) { border-radius: 0 0 11px 11px; padding-top: 7px; padding-bottom: 30px; background: #fff2e4 url("assets/feature-wave.svg") bottom / 100% 22px no-repeat; }
.sidebar .wp-block-tnp-minimal { padding: 0 !important; font-size: .9rem; }
.sidebar .tnp input[type="submit"] { border-radius: 6px; background: var(--action); color: #fff; }
.sidebar-newsletter {
	position: relative;
	overflow: hidden;
	padding-bottom: 42px;
	background: linear-gradient(130deg, #fff5e9, #f9eadf);
}
.sidebar-newsletter::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 24px;
	background: #ffa549;
	clip-path: ellipse(68% 100% at 78% 110%);
	pointer-events: none;
}
.sidebar-newsletter h2 .icon { color: var(--orange); margin-right: 6px; }
.sidebar-newsletter p { margin: 0 0 12px; font-size: .9rem; }
.sidebar-newsletter input[type="email"] { border-radius: 6px; }
.sidebar-newsletter button[type="submit"], .sidebar-newsletter input[type="submit"] {
	max-width: 100%;
	padding: 8px 13px;
	border: 0;
	border-radius: 7px;
	background: var(--action);
	color: #fff;
	font-weight: 800;
}
.archive-list { padding-block: 30px 50px; }
.pagination { margin-top: 26px; }
.pagination .page-numbers { padding: .24em .43em; }

.site-footer {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: linear-gradient(110deg, #063354, #063760 75%);
	color: #fff;
	padding-block: 20px clamp(47px, 5vw, 72px);
}
.site-footer::before {
	content: "";
	position: absolute;
	inset: 8px var(--gutter) 26px auto;
	width: min(30%, 420px);
	z-index: -1;
	background: url("assets/town-solid.svg") bottom right / contain no-repeat;
	opacity: .93;
}
.site-footer::after {
	content: "";
	position: absolute;
	inset: auto 0 -1px;
	height: clamp(34px, 4.4vw, 62px);
	background: url("assets/footer-wave.svg") bottom / 100% 100% no-repeat;
	pointer-events: none;
}
.site-footer a { color: #fff; }
.site-footer a:focus-visible, .hero a:focus-visible { outline-color: #fff; }
.foot { display: grid; grid-template-columns: minmax(150px, .95fr) minmax(220px, 1fr) minmax(110px, .8fr); align-items: center; gap: clamp(18px, 4vw, 55px); }
.foot-logo {
	display: block;
	flex: 0 1 clamp(190px, 28vw, 377px);
	padding-right: clamp(15px, 4vw, 57px);
	border-right: 1px solid #fff;
}
.foot-logo img { display: block; width: 100%; }
.foot-details { min-width: 0; font-size: .81rem; line-height: 1.36; overflow-wrap: anywhere; }
.foot-contact { display: flex; gap: .95em; align-items: flex-start; margin-block: 0 5px; }
.foot-contact .icon { margin-top: .12em; font-size: 1rem; }
.foot-nav { align-self: stretch; min-width: 0; padding-left: clamp(18px, 2vw, 30px); border-left: 1px solid #fff; font-size: .9rem; }
.foot-nav ul { display: flex; flex-direction: column; list-style: none; gap: 9px; margin: 0; padding: 0; }
.foot-nav a { display: inline-flex; align-items: center; gap: 10px; }
.foot-nav a::before { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; mask: url("assets/arrow.svg") center / contain no-repeat; }
.foot-nav a[href*="kontakt"]::before, .foot-nav a[href^="mailto:"]::before { mask-image: url("assets/mail.svg"); }
.foot-nav a[href*="impressum"]::before { mask-image: url("assets/document.svg"); }
.foot-nav a[href*="datenschutz"]::before, .foot-nav a[href*="privacy"]::before { mask-image: url("assets/shield.svg"); }

@media (min-width: 1201px) {
	.nav > ul > li, .nav > div > ul > li { display: flex; align-items: center; white-space: nowrap; }
	.nav .sub-menu, .nav .children { white-space: normal; }
}
@media (min-width: 701px) {
	.hero-copy h1 span { font-size: clamp(1.15rem, 1.65vw, 1.65rem); }
	.hero-copy h1 strong { font-size: clamp(1.8rem, 3.2vw, 3.25rem); }
}
@media (max-width: 1200px) {
	.head { flex-wrap: wrap; min-height: 82px; gap: 0 16px; }
	.logo, body:not(.home) .logo { flex-basis: min(260px, 60%); }
	.toggle:not([hidden]) {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		border: 1px solid #cad0d8;
		border-radius: 7px;
		padding: 7px 10px;
		background: #fff;
		color: var(--blue);
		font-weight: 800;
	}
	.head:has(.nav:not(.nav-ready)) .toggle { display: none; }
	.nav { flex-basis: 100%; padding-bottom: 8px; }
	.nav > ul, .nav > div > ul { display: block; }
	.nav > ul > li, .nav > div > ul > li { border-top: 1px solid #e7e9ed; }
	.nav a { font-size: .95rem; }
	.nav .sub-menu, .nav .children { position: static; width: auto; max-width: none; box-shadow: none; border: 0; padding: 0 0 0 17px; }
	.nav:not(.nav-ready) .sub-menu, .nav:not(.nav-ready) .children { display: block; }
	.submenu-toggle { width: 45px; height: 42px; }
}
@media (max-width: 920px) {
	.hero::before { width: 53%; }
	.hero-copy { width: 52%; }
	.promo { grid-template-columns: 33% 57px minmax(0, 1fr); row-gap: 0; }
	.promo-art { grid-row: span 2; }
	.promo-icon { align-self: center; grid-row: span 2; margin-top: 0; }
	.promo-copy { padding-bottom: 8px; }
	.promo .btn { grid-column: 3; justify-self: start; margin-bottom: 12px; }
}

@media (max-width: 700px) {
	.hero { display: flex; flex-direction: column; min-height: 0; background: linear-gradient(110deg, #fa820b, #e96106); }
	.hero-image { position: relative; height: clamp(168px, 42vw, 270px); object-position: center 48%; }
	.hero::before { display: none; }
	.hero-inner { width: 100%; margin-top: -18px; position: relative; border-radius: 48% 60% 0 0 / 18px 25px 0 0; background: linear-gradient(110deg, #fa820b, #e96106); }
	.hero-copy { width: 100%; padding: 23px var(--gutter) 42px; }
	.hero-copy h1 strong { font-size: clamp(2.08rem, 8vw, 3.1rem); }
	.hero::after { height: 28px; }
	.layout { grid-template-columns: minmax(0, 1fr); }
	.page-banner h1 { max-width: 88%; }
	.page-banner::before { width: 33%; opacity: .22; }
	.features { margin-top: 0; }
	.feature-video h2 { max-width: 67%; }
	.support article { grid-template-columns: 40px minmax(0, 1fr); padding-inline: 10px; }
}
@media (max-width: 560px) {
	.promo { grid-template-columns: 54px minmax(0, 1fr); gap: 10px 12px; padding: 0 13px 14px; }
	.promo-art { grid-column: 1/-1; grid-row: auto; margin-inline: -13px; height: 123px; min-height: 0; border-radius: 0; }
	.promo-icon { grid-row: auto; }
	.promo::after { inset-inline-start: 0; opacity: .36; }
	.promo-copy { padding: 0 0 4px; }
	.promo .btn { grid-column: 2; margin: 0; }
	.section-heading { flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
	.cards, .features, .support { grid-template-columns: minmax(0, 1fr); }
	.card-body { min-height: 0; padding: 11px 15px 25px; }
	.feature { min-height: 170px; }
	.home-support h2 { margin-bottom: 15px; }
	.support article, .support article:first-child { grid-template-columns: 55px minmax(0, 1fr); padding: 11px 0; }
	.support article + article { border-left: 0; border-top: 1px solid #ccc; }
	.foot { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 20px; }
	.foot-logo { flex: none; width: 205px; padding-right: 0; border: 0; }
	.foot-details { max-width: 100%; }
	.foot-nav { width: 100%; border-left: 0; padding-left: 0; padding-top: 18px; border-top: 1px solid #ffffff80; }
	.site-footer::before { width: 43%; opacity: .26; }
}
@media (prefers-reduced-motion: no-preference) {
	.btn, a, .card { transition: color .15s, background-color .15s, box-shadow .15s; }
}

/* Trennlinien in der Beitragsübersicht „Aktuelles“. */
.page-id-182 .entry-content > .wp-block-query > .wp-block-post-template > .wp-block-post + .wp-block-post {
	position: relative;
}
.page-id-182 .entry-content > .wp-block-query > .wp-block-post-template > .wp-block-post + .wp-block-post::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: -0.875rem;
	border-top: 1px solid var(--orange);
	pointer-events: none;
}
