/*
Theme Name: Boysen & Paetzelt Strafverteidigung
Theme URI: https://www.an-walt.de/
Author: Boysen & Paetzelt Rechtsanwälte
Description: Seriöses, schnelles und suchmaschinenoptimiertes Kanzlei-Theme für die Strafverteidiger Boysen & Paetzelt in Erfurt. Legt beim Aktivieren alle Seiten der bisherigen Website an. Ohne externe Schriften, ohne Tracking, ohne Plugin-Zwang.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boysen-paetzelt
Tags: one-column, custom-menu, custom-logo, editor-style, block-styles
*/

/* ==========================================================================
   Grundwerte
   ========================================================================== */
:root {
	--bp-navy: #1b3a5c;
	--bp-navy-dark: #10253d;
	--bp-navy-soft: #2b4d73;
	--bp-brass: #a8844f;
	--bp-brass-light: #c9a979;
	--bp-paper: #f6f4ef;
	--bp-line: #e3ded3;
	--bp-ink: #1f2328;
	--bp-muted: #5b6370;
	--bp-white: #fff;
	--bp-serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
	--bp-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--bp-radius: 4px;
	--bp-shadow: 0 1px 2px rgba(16, 37, 61, .06), 0 8px 24px rgba(16, 37, 61, .08);
	--bp-container: 1180px;
	--bp-content: 780px;
	--bp-header-h: 84px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bp-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: var(--bp-sans);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--bp-ink);
	background: var(--bp-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bp-navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bp-brass); }
:focus-visible { outline: 3px solid var(--bp-brass); outline-offset: 2px; }

h1, h2, h3, h4 {
	font-family: var(--bp-serif);
	font-weight: 700;
	color: var(--bp-navy);
	line-height: 1.2;
	margin: 2em 0 .6em;
	letter-spacing: .005em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.15em; }

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

.bp-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--bp-navy); color: #fff; padding: 10px 16px; border-radius: var(--bp-radius);
}
.bp-skip:focus { top: 12px; color: #fff; }

.bp-container { width: 100%; max-width: var(--bp-container); margin: 0 auto; padding: 0 24px; }
.bp-icon { flex: none; vertical-align: -.2em; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.bp-btn,
.bp-button-link a {
	display: inline-flex; align-items: center; gap: .55em;
	padding: .85em 1.5em; border-radius: var(--bp-radius);
	font-family: var(--bp-sans); font-weight: 600; font-size: 1rem; line-height: 1.2;
	text-decoration: none; border: 2px solid transparent; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.bp-btn:hover, .bp-button-link a:hover { transform: translateY(-1px); }
.bp-btn--primary, .bp-button-link a { background: var(--bp-navy); color: #fff; }
.bp-btn--primary:hover, .bp-button-link a:hover { background: var(--bp-navy-dark); color: #fff; }
.bp-btn--brass { background: var(--bp-brass); color: #fff; }
.bp-btn--brass:hover { background: #8f6f3f; color: #fff; }
.bp-btn--light { background: #fff; color: var(--bp-navy); }
.bp-btn--light:hover { background: var(--bp-paper); color: var(--bp-navy); }
.bp-btn--ghost { border-color: rgba(255, 255, 255, .65); color: #fff; background: transparent; }
.bp-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.bp-button-link { margin: 1.6em 0; }

/* ==========================================================================
   Kopf
   ========================================================================== */
.bp-topbar { background: var(--bp-navy-dark); color: #d7dee8; font-size: .875rem; }
.bp-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.bp-topbar__item, .bp-topbar__links a { display: inline-flex; align-items: center; gap: .45em; }
.bp-topbar__links { display: flex; gap: 24px; }
.bp-topbar a { color: #fff; text-decoration: none; }
.bp-topbar a:hover { color: var(--bp-brass-light); }
.bp-topbar .bp-icon { width: 16px; height: 16px; color: var(--bp-brass-light); }

.bp-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--bp-line);
	backdrop-filter: saturate(160%) blur(6px);
}
.admin-bar .bp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bp-header { top: 0; } }
.bp-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--bp-header-h); gap: 24px; }

.bp-brand__link { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.bp-brand__name {
	font-family: var(--bp-serif); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	color: var(--bp-navy); letter-spacing: .06em; text-transform: uppercase;
}
.bp-brand__amp { color: var(--bp-brass); }
.bp-brand__tag {
	margin-top: 6px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bp-muted);
}
.bp-brand .custom-logo { max-height: 64px; width: auto; }

.bp-nav { display: flex; align-items: center; gap: 28px; }
.bp-menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.bp-menu > li { position: relative; }
.bp-menu a {
	display: block; padding: .55em .85em; text-decoration: none; color: var(--bp-ink);
	font-weight: 500; font-size: .98rem; border-radius: var(--bp-radius);
}
.bp-menu > li > a { position: relative; }
.bp-menu > li > a::after {
	content: ""; position: absolute; left: .85em; right: .85em; bottom: .2em; height: 2px;
	background: var(--bp-brass); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.bp-menu > li > a:hover::after,
.bp-menu > .current-menu-item > a::after,
.bp-menu > .current-menu-ancestor > a::after,
.bp-menu > .current_page_item > a::after { transform: scaleX(1); }
.bp-menu a:hover { color: var(--bp-navy); }
.bp-menu .current-menu-item > a, .bp-menu .current_page_item > a { color: var(--bp-navy); }

.bp-menu .menu-item-has-children > a { padding-right: 1.6em; }
.bp-menu .menu-item-has-children > a::before {
	content: ""; position: absolute; right: .7em; top: 50%; width: 6px; height: 6px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
}
.bp-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 250px;
	background: #fff; border: 1px solid var(--bp-line); border-top: 3px solid var(--bp-brass);
	box-shadow: var(--bp-shadow); border-radius: 0 0 var(--bp-radius) var(--bp-radius);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.bp-menu li:hover > .sub-menu, .bp-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bp-menu .sub-menu a { padding: .55em .8em; font-size: .95rem; }
.bp-menu .sub-menu a:hover { background: var(--bp-paper); }

.bp-header__cta { padding: .7em 1.2em; }

.bp-nav-toggle {
	display: none; width: 48px; height: 48px; border: 1px solid var(--bp-line); background: #fff;
	border-radius: var(--bp-radius); cursor: pointer; position: relative;
}
.bp-nav-toggle__bar, .bp-nav-toggle__bar::before, .bp-nav-toggle__bar::after {
	position: absolute; left: 13px; width: 22px; height: 2px; background: var(--bp-navy); transition: transform .25s, opacity .25s; content: "";
}
.bp-nav-toggle__bar { top: 23px; }
.bp-nav-toggle__bar::before { left: 0; top: -7px; }
.bp-nav-toggle__bar::after { left: 0; top: 7px; }
.bp-nav-toggle[aria-expanded="true"] .bp-nav-toggle__bar { background: transparent; }
.bp-nav-toggle[aria-expanded="true"] .bp-nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.bp-nav-toggle[aria-expanded="true"] .bp-nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
	:root { --bp-header-h: 72px; }
	.bp-topbar__item { display: none; }
	.bp-topbar__inner { justify-content: center; }
	.bp-nav-toggle { display: block; }
	.bp-nav {
		position: fixed; inset: var(--bp-nav-top, 112px) 0 0 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 0;
		background: #fff; padding: 16px 24px 120px; overflow-y: auto;
		display: none;
	}
	.bp-nav.is-open { display: flex; animation: bp-fade .2s ease; }
	.bp-menu { flex-direction: column; gap: 0; }
	.bp-menu a { padding: .9em 0; border-bottom: 1px solid var(--bp-line); border-radius: 0; font-size: 1.08rem; }
	.bp-menu > li > a::after { display: none; }
	.bp-menu .menu-item-has-children > a::before { display: none; }
	.bp-menu .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
		border: 0; padding: 0 0 0 16px; min-width: 0;
	}
	.bp-header__cta { margin-top: 24px; justify-content: center; }
	body.bp-nav-open { overflow: hidden; }
}

@keyframes bp-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Startseite: Hero
   ========================================================================== */
.bp-hero {
	position: relative; color: #fff; overflow: hidden;
	background-color: var(--bp-navy-dark);
	background-image:
		linear-gradient(100deg, rgba(16, 37, 61, .96) 0%, rgba(16, 37, 61, .88) 42%, rgba(16, 37, 61, .55) 100%),
		var(--bp-hero-img);
	background-size: cover; background-position: center 35%;
}
.bp-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
	background: linear-gradient(90deg, var(--bp-brass), var(--bp-brass-light), var(--bp-brass));
}
.bp-hero__inner { padding: clamp(72px, 11vw, 140px) 24px clamp(64px, 9vw, 112px); }
.bp-hero__kicker {
	display: inline-block; margin: 0 0 18px; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
	color: var(--bp-brass-light); border-left: 3px solid var(--bp-brass); padding-left: 12px;
}
.bp-hero__title { color: #fff; margin: 0 0 20px; max-width: 14em; font-size: clamp(2.3rem, 5.4vw, 4rem); }
.bp-hero__text { font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 38em; color: #e3e9f0; margin-bottom: 32px; }
.bp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.bp-hero__facts {
	list-style: none; margin: 0; padding: 24px 0 0; display: flex; flex-wrap: wrap; gap: 14px 36px;
	border-top: 1px solid rgba(255, 255, 255, .18); font-size: .95rem; color: #dfe6ee;
}
.bp-hero__facts li { display: flex; align-items: center; gap: .6em; }
.bp-hero__facts .bp-icon { color: var(--bp-brass-light); width: 22px; height: 22px; }

/* ==========================================================================
   Unterseiten: Seitenkopf
   ========================================================================== */
.bp-pagehero {
	background: var(--bp-navy);
	background-image: radial-gradient(circle at 85% 20%, rgba(168, 132, 79, .22), transparent 45%), linear-gradient(135deg, var(--bp-navy-dark), var(--bp-navy));
	color: #fff; padding: 40px 0 52px; position: relative;
}
.bp-pagehero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--bp-brass); }
.bp-pagehero__title { color: #fff; margin: 10px 0 12px; max-width: 22em; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.bp-pagehero__lead { font-size: 1.15rem; color: #dbe3ec; max-width: 44em; margin: 0; }
.bp-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: .85rem; color: #b9c6d6; }
.bp-breadcrumb li + li::before { content: "›"; margin: 0 .55em; color: var(--bp-brass-light); }
.bp-breadcrumb a { color: #dbe3ec; text-decoration: none; }
.bp-breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ==========================================================================
   Inhalt (Block-Editor)
   ========================================================================== */
.bp-content { padding-top: 48px; padding-bottom: 72px; }
.bp-page .entry-content > *,
.bp-ristbv .bp-content > * { max-width: var(--bp-content); }
.bp-page .entry-content > .wp-block-columns,
.bp-page .entry-content > .wp-block-group,
.bp-page .entry-content > .alignwide { max-width: none; }
.bp-content > :first-child { margin-top: 0; }

.bp-lead { font-size: 1.2rem; line-height: 1.65; color: #2c3440; }
.bp-kicker { font-family: var(--bp-serif); font-style: italic; color: var(--bp-brass); margin-bottom: .2em; font-size: 1.05rem; }
.bp-role { color: var(--bp-muted); font-size: .95rem; letter-spacing: .02em; }

.entry-content ul:not(.bp-menu):not(.sub-menu) { padding-left: 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--bp-brass); }

.wp-block-columns { display: flex; flex-wrap: wrap; gap: 32px; margin: 0 0 1.5em; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 781px) { .wp-block-columns { flex-direction: column; } .wp-block-column { flex-basis: 100% !important; } }

.wp-block-image { margin: 0 0 1.5em; }
.wp-block-image img { border-radius: var(--bp-radius); }
.bp-rounded img { border-radius: 8px; box-shadow: var(--bp-shadow); }

.wp-block-quote {
	margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--bp-brass);
	font-family: var(--bp-serif); font-size: 1.3rem; font-style: italic; color: var(--bp-navy);
}
.wp-block-quote p { margin: 0; }
.wp-block-quote cite { display: block; margin-top: .6em; font-size: .9rem; font-style: normal; color: var(--bp-muted); }

/* Weiterlesen-Link */
.bp-more a {
	display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--bp-navy);
	border-bottom: 2px solid var(--bp-brass); padding-bottom: 2px;
}
.bp-more a::after { content: "→"; transition: transform .2s; }
.bp-more a:hover { color: var(--bp-brass); }
.bp-more a:hover::after { transform: translateX(3px); }

/* Abschnitte (Startseite & Unterseiten) */
.bp-section { padding: clamp(56px, 7vw, 88px) 0; position: relative; }
.bp-section--tint { background: var(--bp-paper); }
.bp-section--tint::before {
	content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw;
	background: var(--bp-paper); z-index: -1;
}
.bp-section--tint { background: transparent; }
.bp-section-title { margin-top: 0; }
.bp-section-title::after { content: ""; display: block; width: 56px; height: 3px; background: var(--bp-brass); margin-top: 16px; }
.bp-front-content { padding-top: 0; padding-bottom: 0; }
.bp-main { overflow-x: clip; }
.bp-front-content > .bp-section:last-child { padding-bottom: clamp(56px, 7vw, 88px); }
.bp-page .bp-section { margin: 2.5em 0; }

/* Schritte */
.bp-steps { counter-reset: bp-step; margin-top: 40px; }
.bp-steps > .wp-block-column { counter-increment: bp-step; padding-top: 18px; border-top: 1px solid var(--bp-line); }
.bp-steps > .wp-block-column::before {
	content: "0" counter(bp-step); display: block; font-family: var(--bp-serif); font-size: 2.2rem; color: var(--bp-brass); line-height: 1; margin-bottom: 10px;
}
.bp-steps h3 { margin-top: 0; }

/* Karten */
.bp-cards { margin-top: 36px; }
.bp-cards > .wp-block-column {
	background: #fff; border: 1px solid var(--bp-line); border-top: 4px solid var(--bp-navy);
	padding: 28px 26px 22px; border-radius: var(--bp-radius); box-shadow: var(--bp-shadow);
	display: flex; flex-direction: column; transition: transform .25s, border-color .25s;
}
.bp-cards > .wp-block-column:hover { transform: translateY(-3px); border-top-color: var(--bp-brass); }
.bp-cards h3 { margin-top: 0; font-size: 1.35rem; }
.bp-cards .bp-more { margin-top: auto; margin-bottom: 0; padding-top: 8px; }
@media (min-width: 782px) and (max-width: 1100px) {
	.bp-cards { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Team */
.bp-team { gap: 40px; margin-top: 36px; }
.bp-team > .wp-block-column { max-width: 420px; }
.bp-portrait img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; width: 100%; border-radius: 6px; box-shadow: var(--bp-shadow); }
.bp-team h2, .bp-team h3 { margin: .9em 0 .1em; }

/* Zweispaltig */
.bp-split { align-items: center; gap: clamp(32px, 6vw, 80px); }
.bp-split h2 { margin-top: 0; }
.bp-split .wp-block-image img { max-height: 520px; width: auto; margin-left: auto; margin-right: auto; }

/* Statement */
.bp-statement { padding: 48px clamp(24px, 5vw, 64px); text-align: center; }
.bp-statement h2 { margin-top: 0; font-style: italic; font-weight: 400; max-width: 24em; margin-left: auto; margin-right: auto; }
.bp-statement p { max-width: 46em; margin-left: auto; margin-right: auto; }

/* Kontakt-Spalten */
.bp-contact { gap: clamp(32px, 6vw, 72px); }
.bp-contact > .wp-block-column:last-child { background: var(--bp-paper); padding: 32px; border-radius: 6px; border: 1px solid var(--bp-line); }
.bp-contact h2 { margin-top: 0; }
.bp-address { font-size: 1.1rem; }

/* FAQ (Details-Block) */
.bp-faq { margin: 1.5em 0 2.5em; border-top: 1px solid var(--bp-line); }
.wp-block-details { border-bottom: 1px solid var(--bp-line); padding: 0; margin: 0; }
.wp-block-details summary {
	cursor: pointer; list-style: none; position: relative; padding: 20px 48px 20px 0;
	font-family: var(--bp-serif); font-weight: 700; font-size: 1.12rem; color: var(--bp-navy);
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
	font-family: var(--bp-sans); font-weight: 300; font-size: 1.8rem; color: var(--bp-brass); transition: transform .2s;
}
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details summary:hover { color: var(--bp-brass); }
.wp-block-details > p { padding: 0 0 20px; margin: 0; color: #343b45; }

/* ==========================================================================
   Kontaktformular
   ========================================================================== */
.bp-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 560px) { .bp-form__row { grid-template-columns: 1fr; } }
.bp-field { margin: 0 0 18px; }
.bp-field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--bp-navy); }
.bp-field__opt { font-weight: 400; color: var(--bp-muted); }
.bp-field input, .bp-field textarea {
	width: 100%; font: inherit; font-size: 1rem; padding: .75em .9em; color: var(--bp-ink);
	background: #fff; border: 1px solid #cfc8ba; border-radius: var(--bp-radius); transition: border-color .2s, box-shadow .2s;
}
.bp-field input:focus, .bp-field textarea:focus { border-color: var(--bp-navy); box-shadow: 0 0 0 3px rgba(27, 58, 92, .15); outline: none; }
.bp-form__hint { font-size: .88rem; color: var(--bp-muted); line-height: 1.55; }
.bp-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bp-notice { padding: 14px 18px; border-radius: var(--bp-radius); margin-bottom: 20px; border-left: 4px solid; }
.bp-notice--success { background: #eef6ef; border-color: #2e7d32; color: #1b5e20; }
.bp-notice--error { background: #fbeeee; border-color: #b3261e; color: #8c1d18; }

/* ==========================================================================
   RiStBV
   ========================================================================== */
.ristbv-wrap { max-width: var(--bp-content); }
.ristbv-wrap h2#ristbv-title { margin-top: 1.5em; }
.ristbv-notice { background: var(--bp-paper); border-left: 3px solid var(--bp-brass); padding: 16px 20px; margin: 0 0 2em; font-size: .95rem; }
.ristbv-notice p:last-child { margin-bottom: 0; }
.ristbv-notice a { word-break: break-all; }
#ristbv-nav { background: #fff; border: 1px solid var(--bp-line); border-radius: 6px; padding: 20px 24px; margin: 0 0 3em; max-height: 70vh; overflow: auto; font-size: .93rem; }
#ristbv-nav ul { list-style: none; padding-left: 0; margin: 0; }
#ristbv-nav ul ul { padding-left: 1.1em; }
#ristbv-nav li { margin: .15em 0; }
#ristbv-nav a { text-decoration: none; }
#ristbv-nav a:hover { text-decoration: underline; }
.ristbv-body h3 { font-size: 1.5rem; }
.ristbv-body h4 { font-size: 1.25rem; }
.ristbv-body h5 { font-family: var(--bp-serif); font-size: 1.1rem; color: var(--bp-navy); margin: 1.8em 0 .5em; }
.ristbv-body h6 { font-family: var(--bp-sans); font-size: 1rem; font-weight: 700; color: var(--bp-navy); margin: 1.8em 0 .4em; padding-top: .8em; border-top: 1px solid var(--bp-line); }
.ristbv-body sup { line-height: 0; }
.bp-totop { margin-top: 3em; }

/* ==========================================================================
   Beiträge / 404
   ========================================================================== */
.bp-meta { font-size: .88rem; color: var(--bp-muted); margin-bottom: .3em; }
.bp-postlist__item { padding: 28px 0; border-bottom: 1px solid var(--bp-line); }
.bp-postlist__item h2 { margin: 0 0 .4em; font-size: 1.5rem; }
.bp-postlist__item h2 a { text-decoration: none; }
.bp-linklist { font-size: 1.15rem; }

/* ==========================================================================
   CTA-Band & Fuß
   ========================================================================== */
.bp-cta-band { background: var(--bp-brass); color: #fff; }
.bp-cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 40px; }
.bp-cta-band__kicker { margin: 0 0 4px; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.bp-cta-band__title { color: #fff; margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.bp-cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bp-cta-band .bp-btn--light { color: var(--bp-navy-dark); }

.bp-footer { background: var(--bp-navy-dark); color: #c3cedb; font-size: .95rem; }
.bp-footer a { color: #fff; text-decoration: none; }
.bp-footer a:hover { color: var(--bp-brass-light); }
.bp-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
@media (max-width: 860px) { .bp-footer__grid { grid-template-columns: 1fr; gap: 28px; } }
.bp-footer__brand { font-family: var(--bp-serif); font-size: 1.5rem; color: #fff; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .5em; }
.bp-footer__title { font-family: var(--bp-sans); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bp-brass-light); margin: 0 0 1em; }
.bp-footer__address { font-style: normal; margin-bottom: 1em; }
.bp-footer__list { list-style: none; margin: 0; padding: 0; }
.bp-footer__list li { margin-bottom: .55em; display: flex; align-items: center; gap: .5em; }
.bp-footer .bp-icon { color: var(--bp-brass-light); width: 18px; height: 18px; }
.bp-footer__muted { color: #9fb0c3; }
.bp-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.bp-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.bp-footer__bottom p { margin: 0; }
.bp-footer__menu { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.bp-social { display: flex; gap: 10px; margin-top: 16px; }
.bp-social__link { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; }

/* Mobile Schnellkontakt */
.bp-mobilebar { display: none; }
@media (max-width: 781px) {
	.bp-mobilebar {
		display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		background: var(--bp-navy-dark); box-shadow: 0 -4px 16px rgba(0, 0, 0, .15);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.bp-mobilebar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; color: #fff; text-decoration: none; font-size: .78rem; }
	.bp-mobilebar a + a { border-left: 1px solid rgba(255, 255, 255, .12); }
	.bp-mobilebar .bp-icon { color: var(--bp-brass-light); }
	body { padding-bottom: 64px; }
	.bp-container { padding: 0 18px; }
	.bp-content { padding-top: 36px; padding-bottom: 48px; }
	.bp-contact > .wp-block-column:last-child { padding: 22px; }
}

/* Druck */
@media print {
	.bp-topbar, .bp-header, .bp-mobilebar, .bp-cta-band, .bp-footer__grid .bp-social, #ristbv-nav { display: none !important; }
	.bp-pagehero, .bp-hero { background: none !important; color: #000; }
	.bp-pagehero__title, .bp-hero__title { color: #000; }
}

/* Spaltenausrichtung (überschreibt die Flex-Vorgabe des Block-Editors) */
.bp-contact.wp-block-columns, .bp-team.wp-block-columns, .bp-steps.wp-block-columns { align-items: flex-start !important; }
.bp-cards.wp-block-columns { align-items: stretch !important; }
.bp-split.wp-block-columns { align-items: center !important; }
@media (max-width: 480px) { .bp-brand__tag { font-size: .62rem; letter-spacing: .14em; } }

/* Unterseiten mit Kontaktbox */
.bp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.bp-layout .entry-content > * { max-width: var(--bp-content); }
.bp-layout .entry-content > .wp-block-columns, .bp-layout .entry-content > .wp-block-group { max-width: none; }
.bp-layout .entry-content > :first-child { margin-top: 0; }
.bp-aside { position: sticky; top: calc(var(--bp-header-h) + 24px); }
.admin-bar .bp-aside { top: calc(var(--bp-header-h) + 56px); }
.bp-aside__box { background: var(--bp-navy); color: #dbe3ec; padding: 28px; border-radius: 6px; border-top: 4px solid var(--bp-brass); box-shadow: var(--bp-shadow); }
.bp-aside__kicker { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bp-brass-light); margin-bottom: .5em; }
.bp-aside__title { font-family: var(--bp-serif); font-size: 1.35rem; line-height: 1.3; color: #fff; font-weight: 700; }
.bp-aside__text { font-size: .95rem; }
.bp-aside__btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.bp-aside__list { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; }
.bp-aside__list li { display: flex; gap: .5em; align-items: flex-start; margin-bottom: .4em; }
.bp-aside .bp-icon { color: var(--bp-brass-light); margin-top: .2em; }
@media (max-width: 1100px) {
	.bp-layout { grid-template-columns: 1fr; gap: 40px; }
	.bp-aside { position: static; }
}
