/*
Theme Name: Collegium 60plus
Theme URI: https://webaufbau.ch
Author: WebAufbau – Vincent Kilchherr
Author URI: https://webaufbau.ch
Description: Custom WordPress-Theme für Collegium 60plus, Bern.
Version: 1.0.0
License: Private
Text Domain: collegium60plus
*/

/* ── RESET & BASE ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
	--c60-green:      #3cab83;
	--c60-green-dark: #2d9d78;
	--c60-navy:       #0a2d5d;
	--c60-dark:       #303030;
	--c60-blue:       #1269d5;
	--c60-blue-mid:   #3f92d4;
	--c60-text:       #262626;
	--c60-muted:      #595959;
	--c60-border:     #e8e8e8;
	--c60-bg:         #faf8f7;
	--c60-white:      #ffffff;
	--c60-radius:     13px;
	--c60-shadow:     0 4px 18px rgba(0,0,0,.08);
	--c60-max:        1200px;
	--c60-header-h:   80px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
	font-family: "Montserrat", -apple-system, "system-ui", Arial, sans-serif;
	color: var(--c60-text);
	background: var(--c60-white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
	width: min(var(--c60-max), calc(100% - 64px));
	margin: 0 auto;
}

/* ── HEADER ───────────────────────────────────────────────────────────────── */
.site-header {
	height: var(--c60-header-h);
	background: var(--c60-white);
	display: flex;
	align-items: center;
	border-bottom: 1px solid var(--c60-border);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.nav-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.brand {
	font-size: 24px;
	font-weight: 700;
	color: var(--c60-green);
	letter-spacing: -.5px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.brand img {
	height: 40px;
	width: auto;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 22px;
	font-weight: 700;
	font-size: 14px;
}
.main-nav li {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}
/* Dropdown sub-menu */
.main-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	flex-direction: column;
	gap: 0;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,.10);
	min-width: 170px;
	padding: 12px 0 6px;
	z-index: 200;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
	display: flex;
}
.main-nav .sub-menu li { width: 100%; }
.main-nav .sub-menu a {
	display: block;
	padding: 9px 18px;
	white-space: nowrap;
	font-weight: 600;
	font-size: 13px;
}
.main-nav .sub-menu a:hover { background: #f5f5f5; color: var(--c60-green); }

.main-nav a {
	color: var(--c60-text);
	transition: color .2s;
}

.main-nav a:hover,
.main-nav a.current { color: var(--c60-green); }

.main-nav .home svg {
	width: 22px;
	height: 22px;
	fill: var(--c60-text);
	display: block;
}

/* Mobile nav toggle */
.mobile-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
}

/* ── BUTTONS ──────────────────────────────────────────────────────────────── */
.btn {
	display: inline-block;
	background: var(--c60-green);
	color: var(--c60-white);
	padding: 15px 24px;
	border-radius: var(--c60-radius);
	font-size: 15px;
	font-weight: 600;
	transition: background .2s;
}

.btn:hover { background: var(--c60-green-dark); }

.btn-outline {
	background: transparent;
	border: 2px solid var(--c60-green);
	color: var(--c60-green);
}

.btn-outline:hover {
	background: var(--c60-green);
	color: var(--c60-white);
}

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.c60-hero {
	height: 675px;
	position: relative;
	overflow: visible;
	background: #d8e4d7;
}

.c60-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center 38%;
	filter: saturate(.92);
}

.c60-hero__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg,
		rgba(218,228,222,.72) 0%,
		rgba(255,255,255,.1) 48%,
		rgba(255,255,255,0) 70%);
}

.c60-hero__inner {
	position: relative;
	height: 100%;
	padding-top: 60px;
	display: flex;
	flex-direction: column;
}

.c60-hero__card {
	width: 500px;
	background: rgba(247,246,242,.76);
	backdrop-filter: blur(4px);
	border-radius: 16px;
	padding: 32px 42px 34px;
	box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.c60-hero__card h1 {
	font-size: 48px;
	line-height: 1.03;
	margin: 0 0 20px;
	font-weight: 800;
	letter-spacing: -1.5px;
	color: var(--c60-text);
}

.c60-hero__card p {
	font-size: 17px;
	line-height: 1.7;
	font-weight: 600;
	margin: 0 0 26px;
	color: var(--c60-text);
}

.c60-hero__actions {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}

/* Features strip (overlapping hero bottom) */
.c60-features {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--c60-white);
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	box-shadow: var(--c60-shadow);
	padding: 24px 42px;
	gap: 12px;
}

.c60-feature {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 4px 12px;
	border-right: 1px solid var(--c60-border);
}

.c60-feature:last-child { border-right: none; }

.c60-feature__icon {
	width: 60px;
	height: 60px;
	flex: 0 0 60px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--c60-green-dark);
	background: #eff6ef;
	border: 1px dashed #d8e4d7;
}

.c60-feature__icon svg { width: 34px; height: 34px; }

.c60-feature__body h3 {
	font-size: 16px;
	margin: 4px 0 6px;
	font-weight: 700;
}

.c60-feature__body p {
	font-size: 13px;
	line-height: 1.3;
	margin: 0 0 12px;
	color: var(--c60-muted);
}

.c60-feature__body a {
	font-size: 12px;
	color: #5d5d5d;
	font-weight: 600;
}

.c60-feature__body a:hover { color: var(--c60-green); }

/* ── SECTION RULE ─────────────────────────────────────────────────────────── */
.section-rule .container { border-top: 4px solid #2d2d2d; padding-top: 48px; }

/* ── UPDATES (Termine + Neuigkeiten) ─────────────────────────────────────── */
.c60-updates {
	padding: 56px 0 52px;
	background: var(--c60-white);
}

.c60-updates-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 120px;
	padding-left: 64px;
	padding-right: 64px;
}

/* Pill heading */
.c60-pill-heading {
	display: inline-flex;
	align-items: center;
	background: var(--c60-dark);
	color: var(--c60-white);
	border-radius: 15px;
	padding: 11px 24px 11px 50px;
	font-size: 21px;
	font-weight: 700;
	margin: 0 0 36px 48px;
	position: relative;
}

.c60-pill-icon {
	position: absolute;
	left: -34px;
	top: -9px;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--c60-dark);
	border: 3px solid var(--c60-white);
	box-shadow: 0 0 0 2px var(--c60-dark);
	font-size: 30px;
}

/* Schedule card */
.c60-schedule {
	background: var(--c60-bg);
	border-radius: 0 0 14px 14px;
	overflow: hidden;
	box-shadow: 0 2px 7px rgba(0,0,0,.03);
	padding: 8px 24px;
}

.c60-schedule__row {
	display: grid;
	grid-template-columns: 88px 1fr;
	align-items: center;
	min-height: 88px;
	border-bottom: 1px solid #e7e0dc;
}

.c60-schedule__row:last-child { border-bottom: none; }

.c60-date {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 700;
	color: #54839a;
}

.c60-date small { font-size: 10px; font-weight: 700; }
.c60-date--blue   { background: #eef5f8; }
.c60-date--beige  { background: #f1ece4; color: #baa682; }
.c60-date--yellow { background: #fbf3c5; color: #d7bd2e; }
.c60-date--purple { background: #efe5ee; color: #b68bac; }
.c60-date--green  { background: #eff6ef; color: var(--c60-green-dark); }

.c60-schedule__text strong {
	display: block;
	font-size: 13px;
	margin-bottom: 6px;
}

.c60-schedule__text p {
	margin: 0;
	font-size: 11px;
	color: #a18e84;
}

/* News card */
.c60-news {
	background: var(--c60-bg);
	border-radius: 0 0 14px 14px;
	overflow: hidden;
	box-shadow: 0 2px 7px rgba(0,0,0,.03);
}

.c60-news__item {
	display: grid;
	grid-template-columns: 100px 1fr 24px;
	gap: 16px;
	align-items: center;
	min-height: 100px;
	padding: 12px 14px;
	border-bottom: 1px solid #ddd7d3;
}

.c60-news__item:last-of-type { border-bottom: none; }

.c60-news__img {
	height: 70px;
	border-radius: 8px;
	background: #efefef;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.c60-news__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
}

.c60-news__date {
	display: block;
	font-size: 10px;
	margin-bottom: 4px;
	color: #6b6b6b;
}

.c60-news__title {
	display: block;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 5px;
}

.c60-news__text {
	margin: 0;
	font-size: 10px;
	line-height: 1.4;
	color: #777;
}

.c60-news__arrow { font-size: 24px; color: #878787; font-weight: 400; }

.c60-news__all {
	display: block;
	background: #efefef;
	text-align: center;
	padding: 10px;
	font-size: 10px;
	color: var(--c60-muted);
	font-weight: 600;
}

.c60-news__all:hover { background: var(--c60-border); }

/* ── GALLERY ──────────────────────────────────────────────────────────────── */
.c60-gallery {
	padding: 0 0 42px;
}

.c60-gallery .container { padding-top: 24px; }

.c60-section-title { text-align: center; }

.c60-section-title h2 {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.1;
	margin: 0;
}

.c60-section-title p {
	font-size: 14px;
	margin: 4px 0 20px;
	color: var(--c60-muted);
}

.c60-gallery__shell {
	position: relative;
	width: calc(100% + 64px);
	margin-left: -32px;
	overflow: hidden;
}

.c60-gallery__track {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
}

.c60-gallery__img {
	height: 160px;
	border-radius: 10px;
	background: #e8e8e8;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.c60-gallery__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.c60-gallery__next {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: none;
	background: var(--c60-white);
	box-shadow: 0 2px 10px rgba(0,0,0,.18);
	font-size: 28px;
	line-height: 1;
	color: #666;
	cursor: pointer;
	display: grid;
	place-items: center;
}

/* ── STATS / KENNZAHLEN ───────────────────────────────────────────────────── */
.c60-stats {
	padding: 0 0 52px;
}

.c60-stats .container { padding-top: 24px; }

.c60-stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-top: 24px;
	padding: 0 24px;
	align-items: center;
}

.c60-stat {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 240px;
	position: relative;
	color: var(--c60-navy);
}

.c60-stat__icon {
	margin-bottom: 8px;
}

.c60-stat h3 {
	font-size: 15px;
	font-weight: 700;
	margin: 8px 0 2px;
	color: var(--c60-navy);
}

.c60-stat strong {
	font-size: 76px;
	line-height: .9;
	color: var(--c60-blue);
	font-weight: 700;
	letter-spacing: -3px;
}

/* SVG stat illustrations */
.c60-stat-svg { display: block; margin: 0 auto -4px; }

.c60-rays {
	position: relative;
	width: 180px;
	height: 22px;
	margin: 4px auto 0;
}

.c60-rays i {
	position: absolute;
	width: 3px;
	height: 16px;
	background: #4a97e1;
	border-radius: 2px;
	bottom: 0;
}

.c60-rays i:nth-child(1) { left: 24px;  transform: rotate(-22deg); }
.c60-rays i:nth-child(2) { left: 40px;  bottom: -4px; transform: rotate(-7deg); }
.c60-rays i:nth-child(3) { left: 56px;  bottom: -6px; transform: rotate(8deg); }
.c60-rays i:nth-child(4) { right: 56px; bottom: -6px; transform: rotate(-8deg); }
.c60-rays i:nth-child(5) { right: 40px; bottom: -4px; transform: rotate(7deg); }
.c60-rays i:nth-child(6) { right: 24px; transform: rotate(22deg); }

/* Stat: Kurse (calendar icon) */
.c60-stat-courses-wrap {
	width: 200px;
	height: 188px;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding-bottom: 8px;
}

.c60-stat-courses-bg {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 172px;
	height: 148px;
	background: #f1f5fb;
	border-radius: 8px;
}

.c60-stat-courses-cal {
	position: absolute;
	top: 0;
	width: 72px;
	height: 72px;
	z-index: 2;
}

.c60-stat-courses-text {
	position: relative;
	z-index: 3;
	text-align: center;
}

/* Stat: Kursplätze (ring) */
.c60-stat-ring {
	width: 220px;
	height: 220px;
	border: 7px solid var(--c60-blue);
	border-top-color: transparent;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	margin-top: 4px;
}

.c60-stat-ring::before,
.c60-stat-ring::after {
	content: "";
	position: absolute;
	top: 20px;
	width: 10px;
	height: 10px;
	background: var(--c60-blue);
	border-radius: 50%;
}

.c60-stat-ring::before { left: 24px; }
.c60-stat-ring::after  { right: 24px; }

.c60-stat-ring h3 { font-size: 13px; margin: 0; }
.c60-stat-ring strong { font-size: 62px; letter-spacing: -3px; }

.c60-heads-svg { width: 82px; height: 40px; margin: -4px 0 2px; }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
.site-footer {
	background: #2b2b2b;
	color: #bbb;
	padding: 0;
}

.c60-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.4fr;
	gap: 40px;
	padding: 44px 0 36px;
	font-size: 13px;
}

/* Spalte 1: Marke */
.c60-footer-brand strong {
	display: block;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 8px;
}
.c60-footer-brand p {
	margin: 0 0 6px;
	line-height: 1.6;
	color: #999;
	font-size: 12px;
}
.c60-footer-copy {
	margin-top: 16px !important;
	font-size: 11px !important;
	color: #666 !important;
}

/* Spalte 2: Navigation */
.c60-footer-label {
	margin: 0 0 12px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #777;
}
.c60-footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.c60-footer-nav a {
	color: #bbb;
	font-size: 13px;
	transition: color .15s;
}
.c60-footer-nav a:hover { color: var(--c60-green); }

/* Spalte 3: Kontakt */
.c60-footer-contact p {
	margin: 0 0 10px;
	color: #999;
	font-size: 13px;
	line-height: 1.6;
}
.c60-footer-contact-row {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #bbb;
	font-size: 13px;
	transition: color .15s;
}
.c60-footer-contact-row:hover { color: var(--c60-green); }
.c60-footer-contact-row svg { flex-shrink: 0; color: #666; }

/* Untere Leiste */
.c60-footer-bar {
	border-top: 1px solid rgba(255,255,255,.10);
	font-size: 12px;
	color: #888;
}
.c60-footer-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	gap: 16px;
	flex-wrap: wrap;
}
.c60-footer-bar-right {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}
.c60-footer-bar a {
	color: #888;
	transition: color .15s;
}
.c60-footer-bar a:hover { color: #ccc; }

/* ── UNTERSEITEN: ALLGEMEIN ───────────────────────────────────────────────── */
#c60-main {
	min-height: 60vh;
}

.bb-page-main {
	min-height: 60vh;
	padding-bottom: 64px;
}

/* WordPress Block-Alignment */
.alignfull  { width: 100vw; margin-left: calc(50% - 50vw); }
.alignwide  { max-width: var(--c60-max); margin-left: auto; margin-right: auto; padding: 0 32px; }

/* Fliesstext-Seiten */
.entry-content,
.bb-section .alignwide,
.wp-block-group:not(.alignfull) {
	max-width: var(--c60-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 32px;
	padding-right: 32px;
}

/* Typografie auf Unterseiten */
.bb-section h2,
.entry-content h2,
.wp-block-group h2 {
	font-size: 28px;
	font-weight: 700;
	margin: 40px 0 16px;
	color: var(--c60-text);
	line-height: 1.2;
}

.bb-section h3,
.entry-content h3,
.wp-block-group h3 {
	font-size: 20px;
	font-weight: 700;
	margin: 28px 0 12px;
	color: var(--c60-text);
}

.bb-section h4,
.entry-content h4,
.wp-block-group h4 {
	font-size: 16px;
	font-weight: 700;
	margin: 20px 0 8px;
}

.entry-content p,
.bb-section p,
.wp-block-group p {
	margin-bottom: 16px;
	line-height: 1.7;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 20px 24px;
	line-height: 1.7;
}

.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }

.entry-content a,
.bb-section a:not(.btn):not(.wp-block-button__link):not(.bb-card-link) {
	color: var(--c60-green);
	text-decoration: underline;
}

/* WordPress Columns block */
.wp-block-columns {
	display: flex;
	gap: 28px;
	align-items: flex-start;
	flex-wrap: wrap;
	max-width: var(--c60-max);
	margin: 32px auto;
	padding: 0 32px;
}

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

/* ── BB INNER HERO (Seitenheader) ─────────────────────────────────────────── */
.bb-inner-hero {
	background: linear-gradient(135deg, #f0f7f4 0%, #e8f5ef 100%);
	padding: 64px 0 56px;
	margin-bottom: 0;
}

.bb-eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--c60-green);
	margin: 0 0 12px;
}

.bb-inner-hero__title {
	font-size: 42px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -1px;
	color: var(--c60-text);
	margin: 0 0 16px;
}

.bb-inner-hero__lead {
	font-size: 18px;
	line-height: 1.65;
	color: var(--c60-muted);
	max-width: 680px;
	margin: 0;
}

/* ── BB SECTION CTA ───────────────────────────────────────────────────────── */
.bb-section-cta {
	background: var(--c60-dark);
	color: var(--c60-white);
	padding: 56px 32px;
	text-align: center;
	margin: 48px 0 0;
}

.bb-section-cta h2 {
	font-size: 30px;
	font-weight: 800;
	color: var(--c60-white) !important;
	margin: 0 0 14px !important;
}

.bb-section-cta p {
	color: rgba(255,255,255,.8);
	font-size: 17px;
	margin: 0 0 28px;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.bb-section-cta .bb-eyebrow { color: var(--c60-green); }

/* CTA Button */
.bb-btn-primary .wp-block-button__link,
.wp-block-button__link {
	background: var(--c60-green);
	color: var(--c60-white);
	padding: 14px 28px;
	border-radius: var(--c60-radius);
	font-size: 15px;
	font-weight: 700;
	display: inline-block;
	transition: background .2s;
	border: none;
	cursor: pointer;
}

.bb-btn-primary .wp-block-button__link:hover,
.wp-block-button__link:hover {
	background: var(--c60-green-dark);
	color: var(--c60-white);
}

.wp-block-buttons {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 8px;
}

/* ── BB CARD ──────────────────────────────────────────────────────────────── */
.bb-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.bb-card-link:hover .bb-card { border-color: var(--c60-green); box-shadow: 0 8px 32px rgba(60,171,131,.12); }

.bb-card {
	background: var(--c60-white);
	border: 1.5px solid var(--c60-border);
	border-radius: 14px;
	padding: 28px 24px;
	height: 100%;
	transition: border-color .2s, box-shadow .2s;
}

.bb-card-icon {
	font-size: 36px;
	margin: 0 0 14px;
	line-height: 1;
}

.bb-card h3 {
	font-size: 17px !important;
	font-weight: 700 !important;
	margin: 0 0 10px !important;
	color: var(--c60-text);
}

.bb-card p {
	font-size: 14px;
	color: var(--c60-muted);
	margin: 0;
	line-height: 1.6;
}

.bb-card-arrow {
	font-size: 18px;
	color: var(--c60-green);
	font-weight: 700;
	margin: 12px 0 0 !important;
}

/* Card variants */
.bb-service-card .bb-card-icon { font-size: 44px; }

/* ── GALERIE PAGE ─────────────────────────────────────────────────────────── */
.bb-galerie-year {
	font-size: 22px !important;
	font-weight: 700 !important;
	color: var(--c60-muted);
	margin: 40px 0 16px !important;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--c60-border);
}
.bb-galerie-year:first-child { margin-top: 0 !important; }

.bb-galerie-grid { gap: 16px !important; align-items: stretch; }
.bb-galerie-grid .wp-block-column { display: flex; }
.bb-galerie-grid .bb-card { display: flex; flex-direction: column; }
.bb-galerie-grid .bb-card h3 {
	font-size: 16px !important;
	color: var(--c60-text);
	margin: 8px 0 8px !important;
}
.bb-galerie-grid .bb-card p { flex: 1; }

.bb-galerie-tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 4px;
	margin-bottom: 4px;
}
.bb-galerie-tag--anlass    { background: #e8f5ef; color: var(--c60-green); }
.bb-galerie-tag--moderatoren { background: #e8eef7; color: #1269d5; }
.bb-galerie-tag--mv        { background: #f0eef7; color: #6c3eb8; }

.bb-galerie-foto {
	font-size: 12px !important;
	color: var(--c60-muted);
	margin-top: 12px !important;
	font-style: italic;
}

/* ── GALERIE ALBUM OVERVIEW ──────────────────────────────────────────────── */

.c60-album-year,
h2.c60-album-year {
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--c60-muted);
	margin: 0 0 16px !important;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--c60-border);
}

.c60-album-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

a.c60-album-card {
	display: block;
	text-decoration: none !important;
	color: inherit !important;
	border-radius: 12px;
	overflow: hidden;
	border: 1.5px solid var(--c60-border);
	background: var(--c60-white);
	transition: box-shadow .2s, border-color .2s, transform .15s;
}
a.c60-album-card:hover {
	border-color: var(--c60-green);
	box-shadow: 0 6px 24px rgba(60,171,131,.12);
	transform: translateY(-2px);
}

.c60-album-thumb {
	width: 100%;
	aspect-ratio: 3/2;
	overflow: hidden;
	background: #eee;
}
.c60-album-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s;
}
a.c60-album-card:hover .c60-album-thumb img { transform: scale(1.04); }

.c60-album-info {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.c60-album-title {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: var(--c60-text);
	margin: 4px 0 2px;
}
.c60-album-desc {
	font-size: 13px;
	color: var(--c60-muted);
	line-height: 1.5;
	margin: 0 !important;
}
.c60-album-count {
	font-size: 12px;
	color: var(--c60-green);
	font-weight: 600;
	margin-top: 4px;
}

@media (max-width: 640px) {
	.c60-album-grid { grid-template-columns: 1fr; }
}

/* ── GALERIE DETAIL – PHOTO GRID ─────────────────────────────────────────── */
.bb-photo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
}
.bb-photo-grid__item {
	display: block;
	aspect-ratio: 4/3;
	overflow: hidden;
	border-radius: 6px;
	background: #e8e8e8;
}
.bb-photo-grid__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s;
}
.bb-photo-grid__item:hover img { transform: scale(1.04); }

/* ── GALERIE BACK LINK ───────────────────────────────────────────────────── */
.bb-back-link {
	font-size: 14px;
	color: var(--c60-muted);
	text-decoration: none;
}
.bb-back-link:hover { color: var(--c60-green); }

/* Responsive */
@media (max-width: 700px) {
	.bb-galerie-overview-grid { grid-template-columns: 1fr; }
	.bb-photo-grid { grid-template-columns: repeat(2, 1fr); }
	.bb-galerie-collage { height: 160px; }
}

/* WP gallery block – 3 cols with gap */
.bb-section .wp-block-gallery {
	gap: 6px !important;
}
.bb-section .wp-block-gallery .wp-block-image img {
	border-radius: 6px;
	display: block;
}

@media (max-width: 600px) {
	.bb-galerie-card { flex-direction: column; }
	.bb-galerie-card-thumb { width: 100%; height: 180px; }
}

.bb-service-detail-card {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

/* ── BB FAQ ───────────────────────────────────────────────────────────────── */
.bb-faq {
	max-width: var(--c60-max);
	margin: 32px auto 0;
	padding: 0 32px;
}

.bb-faq__item {
	border-bottom: 1px solid var(--c60-border);
}

.bb-faq__item:first-child {
	border-top: 1px solid var(--c60-border);
}

.bb-faq__question {
	width: 100%;
	background: none;
	border: none;
	padding: 20px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	cursor: pointer;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	color: var(--c60-text);
	text-align: left;
	transition: color .2s;
}

.bb-faq__question:hover { color: var(--c60-green); }

.bb-faq__item--open .bb-faq__question { color: var(--c60-green); }

.bb-faq__icon {
	flex-shrink: 0;
	color: var(--c60-green);
	transition: transform .25s;
}

.bb-faq__item--open .bb-faq__icon { transform: rotate(45deg); }

.bb-faq__answer {
	padding: 0 0 20px;
}

.bb-faq__answer p {
	margin: 0;
	font-size: 15px;
	color: var(--c60-muted);
	line-height: 1.7;
}

/* ── BB PROCESS STEP ──────────────────────────────────────────────────────── */
.bb-process__item {
	padding: 24px 0;
	border-bottom: 1px solid var(--c60-border);
}

.bb-process__num {
	font-size: 48px;
	font-weight: 800;
	color: var(--c60-green);
	line-height: 1;
	margin: 0 0 8px !important;
	letter-spacing: -2px;
}

.bb-process__item h4 {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 8px !important;
}

.bb-process__item > p:last-child {
	color: var(--c60-muted);
	margin: 0;
}

/* ── BB STAT ──────────────────────────────────────────────────────────────── */
.bb-stat,
.bb-stat--large {
	text-align: center;
	padding: 20px;
}

.bb-stat h4 {
	font-size: 36px;
	font-weight: 800;
	color: var(--c60-blue);
	margin: 0 0 4px !important;
	letter-spacing: -1px;
}

.bb-stat--large h3 {
	font-size: 52px;
	font-weight: 800;
	color: var(--c60-blue);
	margin: 0 0 4px !important;
	letter-spacing: -2px;
}

.bb-stat p,
.bb-stat--large p {
	font-size: 14px;
	color: var(--c60-muted);
	margin: 0;
}

/* ── BB TESTIMONIAL ───────────────────────────────────────────────────────── */
.bb-testimonial {
	background: #f0f7f4 !important;
	border-color: var(--c60-green) !important;
	position: relative;
	padding: 32px 28px !important;
}

.bb-testimonial::before {
	content: '\201C';
	font-size: 64px;
	line-height: 1;
	color: var(--c60-green);
	position: absolute;
	top: 12px;
	left: 20px;
	font-family: Georgia, serif;
}

.bb-testimonial blockquote {
	margin: 0;
	padding: 0;
	border: none;
}

.bb-testimonial blockquote p {
	font-size: 17px;
	font-style: italic;
	line-height: 1.65;
	color: var(--c60-text);
	margin: 0 0 16px;
	padding-top: 24px;
}

.bb-testimonial cite {
	font-size: 13px;
	font-weight: 700;
	font-style: normal;
	color: var(--c60-green);
}

/* ── UNTERSEITEN ABSTAND ──────────────────────────────────────────────────── */
.bb-section + .wp-block-columns,
.bb-inner-hero + .wp-block-columns,
.bb-inner-hero ~ .wp-block-group {
	margin-top: 48px;
}

/* WordPress list block */
.wp-block-list {
	padding-left: 24px;
	margin-bottom: 20px;
}

.wp-block-list li { margin-bottom: 8px; line-height: 1.65; }

/* ── SHORTCODE / CF7 KONTAKTFORMULAR ──────────────────────────────────────── */
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
	width: 100%;
	border: 1.5px solid var(--c60-border);
	border-radius: 8px;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 15px;
	color: var(--c60-text);
	background: var(--c60-white);
	margin-bottom: 14px;
	transition: border-color .2s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
	outline: none;
	border-color: var(--c60-green);
}

.wpcf7-form textarea { min-height: 140px; resize: vertical; }

.wpcf7-form input[type="submit"] {
	background: var(--c60-green);
	color: var(--c60-white);
	font-weight: 700;
	cursor: pointer;
	border: none;
	width: auto;
	padding: 14px 32px;
}

.wpcf7-form input[type="submit"]:hover { background: var(--c60-green-dark); }

/* ── BLOCK EDITOR PREVIEW ─────────────────────────────────────────────────── */
.bb-editor-preview {
	padding: 16px;
	border: 2px dashed var(--c60-green);
	border-radius: 8px;
	background: #f9f9f9;
}

.bb-editor-preview h2 { color: var(--c60-text); font-size: 18px; margin-bottom: 8px; }
.bb-editor-preview .c60-pill-heading { font-size: 14px; padding: 8px 16px 8px 36px; margin-left: 30px; }

/* ── EDITOR STYLES ────────────────────────────────────────────────────────── */
.editor-styles-wrapper {
	font-family: "Montserrat", -apple-system, Arial, sans-serif;
	color: var(--c60-text);
	background: var(--c60-white);
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.c60-updates-grid { gap: 60px; padding: 0 24px; }
	.c60-hero__card { width: 420px; }
	.c60-hero__card h1 { font-size: 38px; }
}

@media (max-width: 768px) {
	:root { --c60-header-h: 64px; }

	.main-nav { display: none; gap: 14px; font-size: 13px; }
	.mobile-toggle { display: block; }

	body.nav-open .main-nav {
		display: flex;
		flex-direction: column;
		position: fixed;
		inset: var(--c60-header-h) 0 0;
		background: var(--c60-white);
		padding: 32px;
		z-index: 999;
		overflow-y: auto;
	}
	body.nav-open .main-nav .sub-menu {
		display: flex;
		position: static;
		transform: none;
		box-shadow: none;
		border: none;
		background: #f7f7f7;
		border-radius: 6px;
		margin-top: 4px;
		padding: 4px 0;
	}

	.c60-hero { height: auto; min-height: 520px; }
	.c60-hero__card { width: 100%; padding: 24px; }
	.c60-hero__card h1 { font-size: 32px; }
	.c60-features { position: static; grid-template-columns: 1fr; padding: 20px; }
	.c60-feature { border-right: none; border-bottom: 1px solid var(--c60-border); padding-bottom: 16px; }
	.c60-feature:last-child { border-bottom: none; }

	.c60-updates-grid { grid-template-columns: 1fr; gap: 48px; padding: 0; }
	.c60-stats-grid { grid-template-columns: 1fr; }
	.c60-gallery__track { grid-template-columns: repeat(3, 1fr); }
	.c60-footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 24px; }
	.c60-footer-copy { margin-top: 10px !important; }
}

@media (max-width: 480px) {
	.c60-gallery__track { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.bb-inner-hero__title { font-size: 30px; }
	.bb-inner-hero { padding: 44px 0 36px; }
	.alignwide { padding: 0 20px; }
	.bb-faq { padding: 0 20px; }
	.wp-block-columns { flex-direction: column; padding: 0 20px; }
	.wp-block-column { min-width: 100%; }
	.bb-section-cta { padding: 40px 20px; }
	.entry-content, .bb-section .alignwide, .wp-block-group:not(.alignfull) { padding: 0 20px; }
}

/* ── Links / Partner ─────────────────────────────────────────────────────── */

.c60-partner-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

a.c60-partner-card {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid #e8e8e8;
	text-decoration: none !important;
	color: inherit !important;
	transition: background .15s;
}

a.c60-partner-card:first-child { border-top: 1px solid #e8e8e8; }
a.c60-partner-card:hover { background: #f9fef9; }
a.c60-partner-card:hover .c60-partner-name { color: var(--c60-green); }

.c60-partner-logo {
	flex: 0 0 80px;
	width: 80px !important;
	min-width: 80px;
	height: 60px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: #f5f5f5;
	border-radius: 8px;
	overflow: hidden;
}

.c60-partner-logo img {
	max-width: 72px !important;
	max-height: 52px !important;
	width: auto !important;
	height: auto !important;
	display: inline !important;
	object-fit: contain;
}

.c60-partner-info { flex: 1; min-width: 0; }

.c60-partner-name {
	display: block;
	font-weight: 700;
	font-size: 1rem;
	margin-bottom: 4px;
	transition: color .15s;
}

.c60-partner-desc {
	margin: 0;
	font-size: .9rem;
	color: #555;
	line-height: 1.5;
}

.c60-partner-arrow {
	flex: 0 0 auto;
	font-size: 1.2rem;
	color: #bbb;
	transition: color .15s, transform .15s;
}

a.c60-partner-card:hover .c60-partner-arrow {
	color: var(--c60-green);
	transform: translateX(3px);
}

@media (max-width: 600px) {
	a.c60-partner-card { gap: 14px; }
	.c60-partner-logo { flex: 0 0 60px; width: 60px; height: 48px; }
	.c60-partner-arrow { display: none; }
}

/* ── Gallery Lightbox ─────────────────────────────────────────────────── */
#c60-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	transition: opacity .25s ease, visibility .25s ease;
}
#c60-lightbox.c60-lb-active {
	visibility: visible;
	opacity: 1;
}
.c60-lb-scrim {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .92);
	cursor: zoom-out;
}
.c60-lb-img {
	position: relative;
	z-index: 1;
	max-width: min(92vw, 1400px);
	max-height: 90vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 3px;
	opacity: 0;
	transition: opacity .2s ease;
}
#c60-lightbox.c60-lb-active .c60-lb-img:not(.c60-lb-loading) {
	opacity: 1;
}
.c60-lb-loader {
	position: absolute;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: 3px solid rgba(255,255,255,.2);
	border-top-color: #fff;
	border-radius: 50%;
	animation: c60-spin .7s linear infinite;
}
@keyframes c60-spin { to { transform: rotate(360deg); } }

.c60-lb-close,
.c60-lb-nav {
	position: absolute;
	z-index: 3;
	background: rgba(255,255,255,.1);
	border: none;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	backdrop-filter: blur(6px);
	transition: background .15s;
}
.c60-lb-close:hover,
.c60-lb-nav:hover {
	background: rgba(255,255,255,.22);
}
.c60-lb-close {
	top: 16px;
	right: 16px;
}
.c60-lb-prev { left: 16px;  top: 50%; transform: translateY(-50%); }
.c60-lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.c60-lb-prev[hidden],
.c60-lb-next[hidden] { display: none; }

/* Cursor on gallery images */
.wp-block-gallery img[data-lightbox-src] { cursor: zoom-in; }

@media (max-width: 600px) {
	.c60-lb-prev { left: 8px; }
	.c60-lb-next { right: 8px; }
	.c60-lb-close { top: 8px; right: 8px; }
}

/* ── PARTNER-CARDS ───────────────────────────────────────────────────────── */
.c60-partner-card {
	padding: 24px;
	border: 1px solid var(--c60-border);
	border-radius: 10px;
	height: 100%;
}
.c60-partner-card h4 { font-size: 1rem; margin-bottom: 8px; }
.c60-partner-card h4 a { color: var(--c60-dark); text-decoration: none; }
.c60-partner-card h4 a:hover { color: var(--c60-green); }
.c60-partner-card p { font-size: .9rem; color: var(--c60-muted); margin: 0; }

/* ── VORSTAND PORTRÄTS ───────────────────────────────────────────────────── */
.c60-vorstand-photo img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}
.c60-vorstand-photo { margin-bottom: 12px !important; }
.c60-vorstand-name {
	font-size: 1rem !important;
	font-weight: 700;
	margin-bottom: 4px !important;
	color: var(--c60-dark);
}
.c60-vorstand-role {
	font-size: .875rem;
	color: var(--c60-muted);
	margin: 0 !important;
}
