/*
Theme Name: Burkardroth Klang
Theme URI: https://blaeser-burkardroth.de/
Author: Bläservereinigung Burkardroth
Description: Ein ruhiges, modernes WordPress-Theme für die Bläservereinigung Burkardroth – mit sanften Rot- und Blautönen, klarer Typografie und einem Saxophon als Leitmotiv.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: burkardroth-klang
*/

:root {
	--bk-blue: #0f228b;
	--bk-blue-dark: #252054;
	--bk-red: #d61f27;
	--bk-red-dark: #a9141b;
	--bk-rose: #f7dadd;
	--bk-cream: #f7f8fc;
	--bk-paper: #ffffff;
	--bk-ink: #252054;
	--bk-muted: #676a78;
	--bk-line: rgba(15, 34, 139, 0.14);
	--bk-shadow: 0 22px 60px rgba(37, 32, 84, 0.14);
	--bk-radius: 28px;
	--bk-width: 1180px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--bk-ink);
	background:
		radial-gradient(circle at 8% 12%, rgba(214, 31, 39, 0.08), transparent 25rem),
		radial-gradient(circle at 92% 30%, rgba(15, 34, 139, 0.09), transparent 28rem),
		var(--bk-cream);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.7;
}

body.admin-bar .site-header {
	top: 32px;
}

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

a {
	color: var(--bk-blue-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: var(--bk-red-dark);
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
.button,
.wp-element-button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 22px;
	border: 1px solid var(--bk-blue);
	border-radius: 999px;
	color: #fff;
	background: var(--bk-blue);
	box-shadow: 0 12px 26px rgba(37, 32, 84, 0.18);
	font-weight: 750;
	text-decoration: none;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

button:hover,
.button:hover,
.wp-element-button:hover,
input[type="submit"]:hover {
	color: #fff;
	background: var(--bk-blue-dark);
	box-shadow: 0 16px 32px rgba(37, 32, 84, 0.24);
	transform: translateY(-2px);
}

.button--light {
	border-color: var(--bk-line);
	color: var(--bk-blue-dark);
	background: rgba(255, 255, 255, 0.72);
	box-shadow: none;
}

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

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	color: var(--bk-blue-dark);
	background: #fff;
	box-shadow: var(--bk-shadow);
}

.site-wrap {
	width: min(var(--bk-width), calc(100% - 40px));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	z-index: 50;
	top: 0;
	border-bottom: 1px solid rgba(15, 34, 139, 0.09);
	background: rgba(247, 248, 252, 0.91);
	backdrop-filter: blur(18px);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 86px;
	gap: 32px;
}

.site-branding {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: 13px;
}

.custom-logo-link {
	display: flex;
	flex: 0 0 auto;
}

.custom-logo {
	width: auto;
	max-width: 150px;
	max-height: 64px;
	object-fit: contain;
}

.default-club-logo {
	display: block;
	flex: 0 0 auto;
	width: 126px;
	height: 62px;
	object-fit: contain;
}

.brand-mark {
	display: grid;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	place-items: center;
	border-radius: 50%;
	color: var(--bk-blue-dark);
	background: var(--bk-rose);
	box-shadow: 0 9px 22px rgba(37, 32, 84, 0.12);
}

.brand-mark svg {
	width: 26px;
	height: 26px;
}

.brand-copy {
	display: grid;
	min-width: 0;
	line-height: 1.1;
}

.site-title {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1rem, 2vw, 1.18rem);
	font-weight: 700;
}

.site-title a {
	color: var(--bk-ink);
	text-decoration: none;
}

.site-description {
	margin: 5px 0 0;
	overflow: hidden;
	color: var(--bk-muted);
	font-size: 0.68rem;
	font-weight: 750;
	letter-spacing: 0.12em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.primary-navigation {
	display: flex;
	align-items: center;
}

.primary-navigation ul {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-navigation a {
	display: block;
	padding: 10px 12px;
	border-radius: 999px;
	color: var(--bk-ink);
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation a:focus,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
	color: var(--bk-red-dark);
	background: rgba(214, 31, 39, 0.08);
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	min-height: 0;
	padding: 0;
	border: 1px solid var(--bk-line);
	color: var(--bk-blue-dark);
	background: rgba(255, 255, 255, 0.65);
	box-shadow: none;
}

.menu-toggle svg {
	width: 22px;
	height: 22px;
}

.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(58px, 9vw, 118px) 0 clamp(74px, 10vw, 132px);
}

.hero::before,
.hero::after {
	position: absolute;
		border: 1px solid rgba(214, 31, 39, 0.16);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.hero::before {
	top: -220px;
	right: -120px;
	width: 460px;
	height: 460px;
}

.hero::after {
	bottom: -300px;
	left: -220px;
	width: 520px;
	height: 520px;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.16fr);
	align-items: center;
	gap: clamp(42px, 8vw, 110px);
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 22px;
	color: var(--bk-red-dark);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 38px;
	height: 1px;
	background: var(--bk-red);
	content: "";
}

.hero h1 {
	max-width: 760px;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(3.25rem, 6vw, 5.8rem);
	font-weight: 400;
	letter-spacing: -0.055em;
	line-height: 0.94;
}

.hero h1 span {
	color: var(--bk-red);
}

.hero-intro {
	max-width: 650px;
	margin: 28px 0 0;
	color: var(--bk-muted);
	font-size: clamp(1.05rem, 1.7vw, 1.22rem);
	line-height: 1.75;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.hero-art {
	position: relative;
	display: block;
	min-height: 0;
	padding: 14px;
	border: 1px solid rgba(15, 34, 139, 0.12);
	border-radius: 36px;
	background: rgba(255, 255, 255, 0.8);
	box-shadow: var(--bk-shadow);
}

.hero-art::before {
	display: none;
}

.hero-art img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	border-radius: 24px;
	object-fit: cover;
	object-position: center;
}

.section {
	padding: clamp(64px, 8vw, 104px) 0;
}

.section--paper {
	border-block: 1px solid var(--bk-line);
	background: rgba(255, 253, 252, 0.76);
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 34px;
}

.section-heading h2,
.entry-title,
.page-header h1 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.25rem, 5vw, 4.5rem);
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1;
}

.section-heading p {
	max-width: 560px;
	margin: 12px 0 0;
	color: var(--bk-muted);
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.card {
	position: relative;
	overflow: hidden;
	min-height: 250px;
	padding: 30px;
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-radius);
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 16px 42px rgba(37, 32, 84, 0.08);
}

.card::after {
	position: absolute;
	right: -50px;
	bottom: -70px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: rgba(214, 31, 39, 0.07);
	content: "";
}

.card-label,
.entry-meta {
	color: var(--bk-red-dark);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.card h3 {
	margin: 18px 0 12px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.55rem, 2.5vw, 2.1rem);
	font-weight: 400;
	line-height: 1.15;
}

.card h3 a {
	color: var(--bk-ink);
	text-decoration: none;
}

.card p {
	position: relative;
	z-index: 1;
	margin: 0;
	color: var(--bk-muted);
}

.card-link {
	position: relative;
	z-index: 1;
	display: inline-block;
	margin-top: 22px;
	font-size: 0.86rem;
	font-weight: 800;
	text-decoration: none;
}

.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	align-items: start;
	gap: clamp(40px, 7vw, 90px);
}

.content-layout--single {
	grid-template-columns: minmax(0, 820px);
	justify-content: center;
}

.content-main,
.post-card {
	padding: clamp(28px, 5vw, 58px);
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-radius);
	background: rgba(255, 253, 252, 0.82);
	box-shadow: 0 18px 50px rgba(37, 32, 84, 0.08);
}

.page-header {
	padding: clamp(68px, 9vw, 112px) 0 42px;
}

.page-header p {
	max-width: 700px;
	margin: 22px 0 0;
	color: var(--bk-muted);
	font-size: 1.08rem;
}

.entry-title {
	font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.entry-title a {
	color: var(--bk-ink);
	text-decoration: none;
}

.entry-content {
	margin-top: 30px;
}

.entry-content > * {
	max-width: 760px;
}

.entry-content > .alignwide {
	max-width: 1040px;
}

.entry-content > .alignfull {
	max-width: none;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.8em;
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.2;
}

.entry-content blockquote {
	padding: 4px 0 4px 24px;
	margin: 34px 0;
	border-left: 4px solid var(--bk-red);
	color: var(--bk-blue-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.3rem;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 12px;
	border-bottom: 1px solid var(--bk-line);
	text-align: left;
}

.entry-media {
	overflow: hidden;
	margin: 0 0 30px;
	border-radius: calc(var(--bk-radius) - 8px);
}

.entry-media img {
	display: block;
	width: 100%;
}

.sidebar-card {
	padding: 24px;
	border: 1px solid var(--bk-line);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.62);
}

.sidebar-card h2 {
	margin: 0 0 14px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.5rem;
	font-weight: 400;
}

.sidebar-card ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.sidebar-card li + li {
	margin-top: 10px;
}

.sidebar-card a {
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
}

.posts-grid {
	display: grid;
	gap: 24px;
}

.pagination {
	margin-top: 34px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	display: grid;
	min-width: 42px;
	height: 42px;
	place-items: center;
	padding: 0 12px;
	border: 1px solid var(--bk-line);
	border-radius: 999px;
	background: #fff;
	text-decoration: none;
}

.page-numbers.current {
	color: #fff;
	background: var(--bk-blue);
}

.site-footer {
	padding: 54px 0 30px;
	color: rgba(255, 255, 255, 0.8);
	background: var(--bk-blue-dark);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 40px;
}

.footer-title {
	margin: 0;
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.6rem;
}

.footer-description {
	max-width: 560px;
	margin: 12px 0 0;
}

.footer-navigation ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px 20px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-navigation a {
	color: #fff;
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
}

.site-info {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 28px;
	margin-top: 38px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.78rem;
}

.not-found {
	padding: clamp(90px, 14vw, 180px) 0;
	text-align: center;
}

.not-found .entry-content {
	margin-inline: auto;
}

@media (max-width: 900px) {
	body.admin-bar .site-header {
		top: 46px;
	}

	.menu-toggle {
		display: inline-grid;
		place-items: center;
	}

	.primary-navigation {
		position: absolute;
		top: 100%;
		right: 20px;
		left: 20px;
		display: none;
		padding: 14px;
		border: 1px solid var(--bk-line);
		border-radius: 20px;
		background: rgba(255, 253, 252, 0.98);
		box-shadow: var(--bk-shadow);
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-navigation ul {
		display: grid;
	}

	.primary-navigation a {
		padding: 12px 14px;
	}

	.hero-grid {
		grid-template-columns: 1fr;
	}

	.hero-art {
		min-height: 0;
	}

	.hero-art img {
		max-height: none;
	}

	.cards {
		grid-template-columns: 1fr;
	}

	.content-layout {
		grid-template-columns: 1fr;
	}

	.sidebar-card {
		display: none;
	}
}

@media (max-width: 640px) {
	.site-wrap {
		width: min(100% - 28px, var(--bk-width));
	}

	.header-inner {
		min-height: 76px;
	}

	.site-description {
		display: none;
	}

	.default-club-logo {
		width: 84px;
		height: 48px;
	}

	.hero {
		padding-top: 44px;
	}

	.hero h1 {
		font-size: clamp(2.85rem, 15vw, 4.4rem);
	}

	.hero-art {
		min-height: 0;
		padding: 8px;
		border-radius: 24px;
	}

	.hero-art img {
		width: 100%;
		max-height: none;
		border-radius: 18px;
	}

	.section-heading,
	.footer-grid,
	.site-info {
		display: grid;
	}

	.footer-navigation ul {
		justify-content: flex-start;
	}

	.content-main,
	.post-card {
		padding: 24px;
		border-radius: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
