/*
Theme Name: CGW Minimal
Theme URI: https://cgwetzlar.de/
Author: CGW
Description: Minimal responsive theme for a free Christian church website.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: cgw-minimal
*/

:root {
	--bg: #f7f6f2;
	--paper: #ffffff;
	--ink: #202124;
	--muted: #64665f;
	--line: #dedbd2;
	--accent: #5b6f52;
	--accent-dark: #34432f;
	--warm: #c58b55;
	--radius: 8px;
	--max: 1120px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(247, 246, 242, 0.92);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(16px);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: var(--max);
	margin: 0 auto;
	padding: 18px 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 750;
	letter-spacing: 0;
	text-decoration: none;
}

.brand img {
	width: 38px;
	height: 38px;
	object-fit: contain;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 22px;
	font-size: 15px;
	color: var(--muted);
}

.nav-right {
	display: flex;
	align-items: center;
	gap: 18px;
}

.nav-links a {
	text-decoration: none;
}

.nav-links a:hover {
	color: var(--ink);
}

.language-switcher {
	display: inline-flex;
	align-items: center;
	padding: 3px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.64);
}

.language-switcher a {
	min-width: 36px;
	padding: 5px 9px;
	border-radius: 999px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-align: center;
	text-decoration: none;
}

.language-switcher a.active {
	background: var(--accent-dark);
	color: #fff;
}

.hero {
	min-height: 82vh;
	display: grid;
	align-items: end;
	background:
		linear-gradient(rgba(24, 28, 22, 0.12), rgba(24, 28, 22, 0.58)),
		url("assets/hero-placeholder.jpg");
	background-color: #d8d5cb;
	background-position: center;
	background-size: cover;
}

.hero-inner {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 96px 24px 72px;
	color: #fff;
}

.hero-logo {
	display: block;
	width: min(168px, 38vw);
	height: auto;
	margin-bottom: 24px;
	filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.28));
}

.eyebrow {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	max-width: 820px;
	margin-bottom: 20px;
	font-size: clamp(42px, 8vw, 92px);
	line-height: 0.98;
	letter-spacing: 0;
}

.hero-text {
	max-width: 660px;
	margin-bottom: 32px;
	font-size: 21px;
	color: rgba(255, 255, 255, 0.9);
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 18px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: var(--radius);
	background: #fff;
	color: #172014;
	font-weight: 700;
	text-decoration: none;
}

.button.secondary {
	background: transparent;
	color: #fff;
}

.section {
	max-width: var(--max);
	margin: 0 auto;
	padding: 88px 24px;
}

.section + .section {
	border-top: 1px solid var(--line);
}

.section-title {
	max-width: 680px;
	margin-bottom: 36px;
	font-size: clamp(31px, 4vw, 54px);
	line-height: 1.08;
	letter-spacing: 0;
}

.lead {
	max-width: 760px;
	color: var(--muted);
	font-size: 21px;
}

.info-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 36px;
}

.info {
	min-height: 170px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
}

.info h3 {
	margin-bottom: 8px;
	font-size: 20px;
}

.info p {
	margin-bottom: 0;
	color: var(--muted);
}

.notice-section {
	padding-top: 56px;
	padding-bottom: 56px;
}

.notice-grid {
	display: grid;
	gap: 16px;
	margin-top: 28px;
}

.notice-card {
	padding: 24px;
	border: 1px solid rgba(197, 139, 85, 0.45);
	border-radius: var(--radius);
	background: #fff8ef;
}

.notice-logo {
	display: block;
	width: min(180px, 60vw);
	height: auto;
	margin-bottom: 18px;
}

.notice-card h3 {
	margin-bottom: 8px;
	font-size: 22px;
}

.notice-content p {
	margin-bottom: 0;
	color: var(--muted);
}

.notice-content a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 16px;
	min-height: 42px;
	padding: 9px 16px;
	border-radius: var(--radius);
	background: var(--accent-dark);
	color: #fff;
	font-weight: 750;
	text-decoration: none;
}

.notice-content a:hover {
	background: var(--accent);
}

.expect-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	margin-top: 42px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--line);
}

.expect-item {
	min-height: 230px;
	padding: 28px;
	background: var(--paper);
}

.expect-kicker {
	display: block;
	margin-bottom: 18px;
	color: var(--accent);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.expect-item h3 {
	margin-bottom: 10px;
	font-size: 24px;
	line-height: 1.2;
}

.expect-item p {
	margin-bottom: 0;
	color: var(--muted);
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
	gap: 56px;
	align-items: start;
}

.quiet-list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--muted);
}

.quiet-list li {
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}

.contact-band {
	background: var(--accent-dark);
	color: #fff;
}

.contact-band .section {
	border: 0;
}

.contact-band .lead,
.contact-band .quiet-list {
	color: rgba(255, 255, 255, 0.78);
}

.contact-band .actions {
	margin-top: 24px;
}

.contact-band .button {
	border-color: rgba(255, 255, 255, 0.5);
}

.subpage-head {
	border-bottom: 1px solid var(--line);
	background: var(--paper);
}

.subpage-head-inner {
	max-width: 880px;
	margin: 0 auto;
	padding: 76px 24px 54px;
}

.subpage-head .eyebrow {
	color: var(--accent);
}

.subpage-head h1 {
	margin-bottom: 0;
	color: var(--ink);
	font-size: clamp(38px, 6vw, 68px);
	line-height: 1.02;
	letter-spacing: 0;
}

.legal-page {
	max-width: 880px;
	padding-top: 56px;
}

.legal-page h2 {
	margin: 40px 0 10px;
	font-size: 22px;
	line-height: 1.25;
}

.legal-page p {
	color: var(--muted);
}

.not-found {
	min-height: 58vh;
	display: grid;
	align-items: center;
}

.not-found .lead {
	margin-bottom: 28px;
}

.site-footer {
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 14px;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	max-width: var(--max);
	margin: 0 auto;
	padding: 28px 24px;
}

.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.footer-brand img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}

@media (max-width: 820px) {
	.nav {
		align-items: flex-start;
		flex-direction: column;
	}

	.nav-links {
		flex-wrap: wrap;
		gap: 12px 18px;
	}

	.nav-right {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.hero {
		min-height: 76vh;
	}

	.hero-inner {
		padding-top: 72px;
		padding-bottom: 48px;
	}

	.info-grid,
	.expect-grid,
	.split {
		grid-template-columns: 1fr;
	}

	.section {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.footer-inner {
		flex-direction: column;
	}
}
