/**
 * Fragewerk Theme – Main Stylesheet
 * Modern, warm, responsive design
 */

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
	/* Colors – warm, spiritual palette */
	--color-bg: #FDF8F4;
	--color-bg-alt: #F5EDE6;
	--color-bg-dark: #2C2420;
	--color-surface: #FFFFFF;
	--color-text: #2C2420;
	--color-text-muted: #6B5E57;
	--color-text-light: #FDF8F4;
	--color-accent: #8B4A5E;
	--color-accent-light: #A86B7D;
	--color-accent-dark: #6E3A4B;
	--color-gold: #C4A265;
	--color-gold-light: #D4B87A;
	--color-border: #E8DDD4;
	--color-success: #4A7C59;
	--color-error: #B54A4A;

	/* Typography */
	--font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	/* Spacing */
	--space-xs: 0.25rem;
	--space-sm: 0.5rem;
	--space-md: 1rem;
	--space-lg: 1.5rem;
	--space-xl: 2rem;
	--space-2xl: 3rem;
	--space-3xl: 4rem;
	--space-4xl: 6rem;

	/* Layout */
	--container-max: 1400px;
	--container-narrow: 900px;
	--header-height: 88px;

	/* Effects */
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 16px;
	--radius-full: 9999px;
	--shadow-sm: 0 1px 3px rgba(44, 36, 32, 0.08);
	--shadow-md: 0 4px 20px rgba(44, 36, 32, 0.1);
	--shadow-lg: 0 8px 40px rgba(44, 36, 32, 0.12);
	--transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.7;
	color: var(--color-text);
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	width: 100%;
}

.site-main {
	width: 100%;
	padding-top: var(--header-height);
}

/* WordPress Admin Bar offset */
body.admin-bar .site-header {
	top: 32px;
}

body.admin-bar .site-main {
	padding-top: calc(var(--header-height) + 32px);
}

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

	body.admin-bar .site-main {
		padding-top: calc(var(--header-height) + 46px);
	}
}

/* Override WordPress block width constraints */
.site-main .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.site-main .wp-block-group.is-layout-constrained,
.site-main .entry-content {
	max-width: none !important;
}

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

a {
	color: var(--color-accent);
	text-decoration: none;
	transition: color var(--transition);
}

a:hover {
	color: var(--color-accent-dark);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.25;
	color: var(--color-text);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.container--narrow {
	max-width: var(--container-narrow);
}

.skip-link {
	position: absolute;
	top: -100%;
	left: var(--space-md);
	background: var(--color-accent);
	color: var(--color-text-light);
	padding: var(--space-sm) var(--space-md);
	border-radius: var(--radius-sm);
	z-index: 10000;
}

.skip-link:focus {
	top: var(--space-md);
}

.prose p + p {
	margin-top: var(--space-md);
}

.prose p {
	margin-bottom: var(--space-md);
}

.prose p:last-child {
	margin-bottom: 0;
}

.prose ul,
.prose ol {
	margin: 0 0 var(--space-md);
	padding-left: 1.4em;
}

.prose li + li {
	margin-top: var(--space-xs);
}

.prose strong,
.prose b {
	font-weight: 600;
	color: var(--color-text);
}

.prose em,
.prose i {
	font-style: italic;
}

.prose blockquote {
	margin: 0 0 var(--space-md);
	padding-left: var(--space-md);
	border-left: 3px solid var(--color-accent-light);
	color: var(--color-text-muted);
}

.quote-card .prose strong,
.quote-card .prose b,
.quote-card .prose em,
.quote-card .prose i {
	color: inherit;
}

.prose a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hero__subtitle p,
.section__subtitle p,
.step-card__text p,
.quote-card__text p,
.site-footer__motto p,
.site-footer__legal p {
	margin: 0;
}

.hero__subtitle p + p,
.section__subtitle p + p,
.step-card__text p + p,
.quote-card__text p + p,
.site-footer__motto p + p,
.site-footer__legal p + p {
	margin-top: var(--space-sm);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-sm);
	font-family: var(--font-sans);
	font-weight: 500;
	font-size: 1rem;
	line-height: 1;
	padding: 0.875rem 1.75rem;
	border: 2px solid transparent;
	border-radius: var(--radius-full);
	cursor: pointer;
	transition: all var(--transition);
	text-decoration: none;
}

.btn--primary {
	background: var(--color-accent);
	color: var(--color-text-light);
	border-color: var(--color-accent);
}

.btn--primary:hover {
	background: var(--color-accent-dark);
	border-color: var(--color-accent-dark);
	color: var(--color-text-light);
}

.btn--ghost {
	background: transparent;
	color: var(--color-accent);
	border-color: var(--color-accent);
}

.btn--ghost:hover {
	background: var(--color-accent);
	color: var(--color-text-light);
}

.btn--sm {
	font-size: 0.875rem;
	padding: 0.625rem 1.25rem;
}

.btn--lg {
	font-size: 1.0625rem;
	padding: 1rem 2rem;
}

.btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(253, 248, 244, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
	border-bottom-color: var(--color-border);
	box-shadow: var(--shadow-sm);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-lg);
	min-height: var(--header-height);
	padding-block: var(--space-md);
}

.site-header__inner .primary-nav {
	margin-left: auto;
}

.site-branding__link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--color-text);
}

.site-branding__name {
	font-family: var(--font-serif);
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.site-branding__tagline {
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--color-text-muted);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.custom-logo-link img {
	max-height: 50px;
	width: auto;
}

/* Navigation */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: var(--space-sm);
	z-index: 1201;
	position: relative;
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: var(--space-xl);
}

.primary-nav__panel {
	display: flex;
	align-items: center;
	gap: var(--space-xl);
}

.primary-nav__list {
	display: flex;
	align-items: center;
	gap: var(--space-lg);
	list-style: none;
}

.primary-nav__list a {
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--color-text);
	text-decoration: none;
	position: relative;
}

.primary-nav__list a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--color-accent);
	transition: width var(--transition);
}

.primary-nav__list a:hover::after {
	width: 100%;
}

.primary-nav__list a:hover {
	color: var(--color-accent);
}

.nav-toggle__bar {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--color-text);
	transition: var(--transition);
}

body.nav-open {
	overflow: hidden;
}

@media (min-width: 769px) {
	.primary-nav__backdrop {
		display: none !important;
	}
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
	position: relative;
	min-height: calc(100vh - var(--header-height));
	display: flex;
	align-items: center;
	padding-top: 0;
	overflow: hidden;
}

.hero__background {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 20% 50%, rgba(139, 74, 94, 0.08) 0%, transparent 50%),
		radial-gradient(ellipse at 80% 20%, rgba(196, 162, 101, 0.1) 0%, transparent 50%),
		var(--color-bg);
}

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-3xl);
	align-items: center;
	padding-block: var(--space-4xl);
}

.hero__eyebrow {
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: var(--space-md);
}

.hero__title {
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 600;
	margin-bottom: var(--space-lg);
	line-height: 1.15;
}

.hero__subtitle {
	font-size: 1.1875rem;
	color: var(--color-text-muted);
	max-width: 520px;
	margin-bottom: var(--space-2xl);
	line-height: 1.8;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md);
}

.hero__visual {
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero__symbol {
	width: min(360px, 85%);
	animation: gentle-pulse 6s ease-in-out infinite;
}

.hero__symbol img {
	display: block;
	width: 100%;
	height: auto;
	background: transparent;
}

@keyframes gentle-pulse {
	0%, 100% { opacity: 0.8; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.03); }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
	padding-block: var(--space-4xl);
}

.section--about {
	background: var(--color-surface);
}

.section--steps {
	background: var(--color-bg-alt);
}

.section--pricing {
	background: var(--color-surface);
}

.section--book {
	background:
		radial-gradient(ellipse at 12% 20%, rgba(46, 54, 117, 0.08) 0%, transparent 45%),
		radial-gradient(ellipse at 88% 80%, rgba(244, 208, 63, 0.12) 0%, transparent 40%),
		var(--color-bg-alt);
}

.section--form {
	background: var(--color-bg-alt);
}

.section--faq {
	background: var(--color-surface);
}

.section--publications {
	background: var(--color-bg-alt);
}

.section__header {
	margin-bottom: var(--space-3xl);
}

.section__header--center {
	text-align: center;
}

.section__header--center .section__subtitle {
	margin-inline: auto;
}

.section__eyebrow {
	display: block;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-gold);
	margin-bottom: var(--space-sm);
}

.section__title {
	font-size: clamp(2rem, 4vw, 2.75rem);
	margin-bottom: var(--space-md);
}

.section__subtitle {
	font-size: 1.125rem;
	color: var(--color-text-muted);
	max-width: 600px;
	line-height: 1.7;
}

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: var(--space-3xl);
	align-items: center;
}

.about-grid__content {
	font-size: 1.0625rem;
	color: var(--color-text-muted);
}

.quote-card {
	background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
	color: var(--color-text-light);
	padding: var(--space-2xl);
	border-radius: var(--radius-lg);
	position: relative;
}

.quote-card::before {
	content: '\201C';
	position: absolute;
	top: var(--space-md);
	left: var(--space-lg);
	font-family: var(--font-serif);
	font-size: 4rem;
	line-height: 1;
	opacity: 0.3;
}

.quote-card__text {
	font-family: var(--font-serif);
	font-size: 1.5rem;
	font-style: italic;
	line-height: 1.5;
	position: relative;
	z-index: 1;
}

/* ==========================================================================
   Steps
   ========================================================================== */

.steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-xl);
}

.step-card {
	background: var(--color-surface);
	padding: var(--space-2xl);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.step-card__number {
	display: block;
	font-family: var(--font-serif);
	font-size: 2.5rem;
	font-weight: 600;
	color: var(--color-gold);
	line-height: 1;
	margin-bottom: var(--space-md);
}

.step-card__title {
	font-size: 1.375rem;
	margin-bottom: var(--space-sm);
}

.step-card__text {
	color: var(--color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.7;
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-card {
	max-width: 700px;
	margin-inline: auto;
	text-align: center;
	background: var(--color-bg);
	padding: var(--space-2xl);
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-border);
}

.pricing-card__content {
	color: var(--color-text-muted);
	margin-bottom: var(--space-xl);
}

.pricing-card__cta {
	margin: 0;
}

/* ==========================================================================
   Book
   ========================================================================== */

.book-feature {
	display: grid;
	grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
	gap: var(--space-3xl);
	align-items: center;
}

.book-feature__cover {
	justify-self: center;
	width: 100%;
	max-width: 320px;
}

.book-feature__cover img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
	box-shadow:
		0 18px 40px rgba(46, 54, 117, 0.22),
		0 4px 12px rgba(44, 36, 32, 0.12);
	transform: rotate(-1.5deg);
	transition: transform var(--transition), box-shadow var(--transition);
}

.book-feature__cover img:hover {
	transform: rotate(0deg) translateY(-4px);
	box-shadow:
		0 24px 48px rgba(46, 54, 117, 0.28),
		0 8px 18px rgba(44, 36, 32, 0.14);
}

.book-feature__content {
	max-width: 34rem;
}

.book-feature__title {
	margin-bottom: var(--space-sm);
}

.book-feature__subtitle {
	font-family: var(--font-serif);
	font-size: 1.25rem;
	font-style: italic;
	line-height: 1.45;
	color: var(--color-text-muted);
	margin: 0 0 var(--space-md);
}

.book-feature__meta {
	margin: 0 0 var(--space-lg);
	font-size: 0.875rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--color-gold);
}

.book-feature__description {
	margin-bottom: var(--space-xl);
	color: var(--color-text-muted);
}

.book-feature__cta {
	display: inline-flex;
}

.donation-options {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-md);
	margin-top: var(--space-lg);
}

.donation-option {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: var(--space-lg) var(--space-xl);
	background: var(--color-surface);
	border: 2px solid var(--color-border);
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: all var(--transition);
	min-width: 120px;
}

.donation-option:hover,
.donation-option.is-selected {
	border-color: var(--color-accent);
	background: rgba(139, 74, 94, 0.05);
}

.donation-option__amount {
	font-family: var(--font-serif);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--color-accent);
}

.donation-option__label {
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	margin-top: var(--space-xs);
}

.donation-custom {
	margin-top: var(--space-md);
}

.donation-custom label {
	display: block;
	font-size: 0.875rem;
	margin-bottom: var(--space-xs);
	color: var(--color-text-muted);
}

.donation-custom input {
	width: 100%;
	max-width: 200px;
	padding: var(--space-sm) var(--space-md);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-size: 1rem;
}

.payment-methods {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: var(--space-sm);
	margin-top: var(--space-sm);
}

.payment-method {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: var(--space-sm) var(--space-md);
	border: 2px solid var(--color-border);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	cursor: pointer;
	transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
	text-align: center;
}

.payment-method:has(.payment-method__input:checked),
.payment-method.is-selected {
	border-color: var(--color-accent);
	background: #fdf8f4;
	box-shadow: var(--shadow-sm);
}

.payment-method__input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.payment-method__label {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-text);
}

/* ==========================================================================
   Form
   ========================================================================== */

.form-section {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.3fr);
	gap: var(--space-3xl);
	align-items: start;
	width: 100%;
}

.form-section__intro .section__subtitle {
	max-width: none;
}

.fragewerk-form {
	background: var(--color-surface);
	padding: var(--space-2xl);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}

.form-group {
	margin-bottom: var(--space-lg);
}

.form-group label {
	display: block;
	font-weight: 500;
	font-size: 0.9375rem;
	margin-bottom: var(--space-sm);
	color: var(--color-text);
}

.form-group .required {
	color: var(--color-accent);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
	width: 100%;
	padding: 0.875rem 1rem;
	font-family: var(--font-sans);
	font-size: 1rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	background: var(--color-bg);
	color: var(--color-text);
	transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(139, 74, 94, 0.15);
}

.form-group textarea {
	min-height: 160px;
	resize: vertical;
}

.form-group .form-hint {
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	margin-top: var(--space-xs);
}

.form-checkbox {
	display: flex;
	align-items: flex-start;
	gap: var(--space-sm);
}

.form-checkbox input {
	margin-top: 4px;
	accent-color: var(--color-accent);
}

.form-checkbox label {
	font-weight: 400;
	font-size: 0.9375rem;
	margin-bottom: 0;
}

.form-message {
	padding: var(--space-md);
	border-radius: var(--radius-md);
	margin-bottom: var(--space-lg);
	font-size: 0.9375rem;
}

.form-message--success {
	background: rgba(74, 124, 89, 0.1);
	color: var(--color-success);
	border: 1px solid rgba(74, 124, 89, 0.3);
}

.form-message--error {
	background: rgba(181, 74, 74, 0.1);
	color: var(--color-error);
	border: 1px solid rgba(181, 74, 74, 0.3);
}

/* ==========================================================================
   Success / Payment Modal
   ========================================================================== */

body.fragewerk-modal-open {
	overflow: hidden;
}

.fragewerk-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-lg);
}

.fragewerk-modal[hidden] {
	display: none !important;
}

.fragewerk-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(44, 36, 32, 0.62);
	backdrop-filter: blur(4px);
}

.fragewerk-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 560px);
	max-height: min(90vh, 720px);
	overflow: auto;
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	padding: var(--space-2xl);
	text-align: center;
	animation: fragewerk-modal-in 0.35s ease;
}

@keyframes fragewerk-modal-in {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.fragewerk-modal__symbol {
	font-size: 2rem;
	color: var(--color-accent);
	margin-bottom: var(--space-md);
	line-height: 1;
}

.fragewerk-modal__title {
	font-family: var(--font-serif);
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: var(--color-text);
	margin: 0 0 var(--space-lg);
	line-height: 1.25;
}

.fragewerk-modal__payment {
	background: rgba(74, 124, 89, 0.08);
	border: 1px solid rgba(74, 124, 89, 0.28);
	border-radius: var(--radius-md);
	padding: var(--space-lg);
	margin-bottom: var(--space-lg);
	color: var(--color-success);
	font-size: 1rem;
	line-height: 1.7;
	text-align: left;
	white-space: pre-line;
}

.fragewerk-modal--payment .fragewerk-modal__payment {
	font-weight: 500;
}

.fragewerk-modal__message {
	color: var(--color-text-muted);
	font-size: 1.0625rem;
	line-height: 1.7;
	margin: 0 0 var(--space-md);
}

.fragewerk-modal__footer {
	color: var(--color-text);
	font-size: 0.975rem;
	line-height: 1.6;
	margin: 0 0 var(--space-xl);
}

.fragewerk-modal__close {
	min-width: 200px;
}

.notice {
	padding: var(--space-lg);
	border-radius: var(--radius-md);
}

.notice--info {
	background: rgba(139, 74, 94, 0.08);
	border: 1px solid var(--color-border);
	color: var(--color-text-muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
}

.faq-item {
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.faq-item__question {
	padding: var(--space-lg);
	font-family: var(--font-serif);
	font-size: 1.125rem;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background var(--transition);
}

.faq-item__question::-webkit-details-marker {
	display: none;
}

.faq-item__question::after {
	content: '+';
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--color-accent);
	transition: transform var(--transition);
}

.faq-item[open] .faq-item__question::after {
	transform: rotate(45deg);
}

.faq-item__question:hover {
	background: rgba(139, 74, 94, 0.04);
}

.faq-item__answer {
	padding: 0 var(--space-lg) var(--space-lg);
	color: var(--color-text-muted);
}

/* ==========================================================================
   Published Q&A
   ========================================================================== */

.qa-publications {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: var(--space-xl);
}

.qa-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-xl);
	position: relative;
	transition: box-shadow var(--transition);
}

.qa-card:hover {
	box-shadow: var(--shadow-md);
}

.qa-card__label {
	position: absolute;
	top: var(--space-md);
	right: var(--space-md);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	background: var(--color-bg);
	padding: 0.25rem 0.75rem;
	border-radius: var(--radius-full);
	border: 1px solid var(--color-border);
}

.qa-card__heading {
	font-family: var(--font-serif);
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-accent);
	margin-bottom: var(--space-sm);
}

.qa-card__question {
	margin-bottom: var(--space-lg);
	padding-bottom: var(--space-lg);
	border-bottom: 1px solid var(--color-border);
}

.qa-card__question p,
.qa-card__answer-text {
	color: var(--color-text-muted);
	font-size: 0.9375rem;
	line-height: 1.7;
}

.qa-card__answer-text {
	white-space: pre-wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background: var(--color-bg-dark);
	color: var(--color-text-light);
	padding-block: var(--space-3xl);
}

.site-footer a {
	color: var(--color-gold-light);
}

.site-footer a:hover {
	color: var(--color-text-light);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(140px, 1fr) minmax(140px, 1fr);
	gap: var(--space-2xl) var(--space-3xl);
	margin-bottom: var(--space-2xl);
	align-items: start;
}

.site-footer__brand {
	max-width: 22rem;
}

.site-footer__links,
.site-footer__contact {
	min-width: 0;
}

.site-footer .site-branding__link {
	color: var(--color-text-light);
}

.site-footer .site-branding__tagline {
	color: rgba(253, 248, 244, 0.6);
}

.site-footer__motto {
	margin-top: var(--space-md);
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 1.125rem;
	line-height: 1.5;
	color: var(--color-gold-light);
}

.site-footer h4 {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-gold);
	margin: 0 0 var(--space-md);
}

.footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.footer-nav li {
	margin: 0;
}

.footer-nav a {
	display: inline-block;
	font-size: 0.9375rem;
	line-height: 1.4;
	color: rgba(253, 248, 244, 0.85);
	text-decoration: none;
	white-space: nowrap;
	transition: color var(--transition), transform var(--transition);
}

.footer-nav a:hover {
	color: var(--color-text-light);
	transform: translateX(3px);
}

/* Falls im Footer noch Header-Klassen verwendet werden */
.site-footer .primary-nav__list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.65rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer .primary-nav__list a {
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.4;
	color: rgba(253, 248, 244, 0.85);
	white-space: nowrap;
}

.site-footer .primary-nav__list a::after {
	display: none;
}

.site-footer__contact p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.site-footer__contact a {
	word-break: break-word;
}

.site-footer__bottom {
	padding-top: var(--space-xl);
	border-top: 1px solid rgba(253, 248, 244, 0.1);
	text-align: center;
	font-size: 0.875rem;
	color: rgba(253, 248, 244, 0.5);
}

.site-footer__legal {
	margin-top: var(--space-sm);
	font-size: 0.8125rem;
}

/* ==========================================================================
   Posts
   ========================================================================== */

.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: var(--space-xl);
}

.post-card {
	background: var(--color-surface);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform var(--transition), box-shadow var(--transition);
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.post-card__image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.post-card__content {
	padding: var(--space-lg);
}

.post-card__title {
	font-size: 1.25rem;
	margin-bottom: var(--space-sm);
}

.post-card__title a {
	color: var(--color-text);
	text-decoration: none;
}

.post-card__excerpt {
	color: var(--color-text-muted);
	font-size: 0.9375rem;
	margin-bottom: var(--space-md);
}

.post-card__link {
	font-size: 0.875rem;
	font-weight: 500;
}

/* ==========================================================================
   404
   ========================================================================== */

.section--404 {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.error-404__title {
	font-size: 6rem;
	color: var(--color-accent);
	opacity: 0.3;
	margin-bottom: var(--space-md);
}

.error-404__text {
	font-size: 1.25rem;
	color: var(--color-text-muted);
	margin-bottom: var(--space-xl);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.hero__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.hero__subtitle {
		margin-inline: auto;
	}

	.hero__actions {
		justify-content: center;
	}

	.hero__visual {
		order: -1;
	}

	.hero__symbol {
		width: min(260px, 70%);
	}

	.about-grid,
	.form-section,
	.book-feature {
		grid-template-columns: 1fr;
	}

	.book-feature {
		gap: var(--space-2xl);
		text-align: center;
	}

	.book-feature__content {
		max-width: none;
		justify-self: center;
	}

	.book-feature__cover {
		max-width: 260px;
	}

	.book-feature__cover img {
		transform: none;
	}

	.book-feature__cover img:hover {
		transform: translateY(-4px);
	}

	.steps-grid {
		grid-template-columns: 1fr;
		max-width: 500px;
		margin-inline: auto;
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: var(--space-xl) var(--space-2xl);
	}

	.site-footer__brand {
		grid-column: 1 / -1;
		max-width: none;
	}
}

@media (max-width: 768px) {
	:root {
		--header-height: 70px;
	}

	.nav-toggle {
		display: flex;
	}

	.site-header {
		z-index: 1301;
	}

	.site-header__inner .primary-nav {
		margin-left: 0;
	}

	.primary-nav {
		position: fixed;
		inset: 0;
		z-index: 1300;
		display: block;
		pointer-events: none;
		visibility: hidden;
		transition: visibility 0.3s ease;
	}

	.primary-nav.is-open {
		pointer-events: auto;
		visibility: visible;
	}

	.primary-nav__backdrop,
	.primary-nav__panel {
		display: flex;
	}

	.primary-nav__backdrop {
		position: absolute;
		inset: 0;
		border: none;
		padding: 0;
		margin: 0;
		background: rgba(44, 36, 32, 0.45);
		opacity: 0;
		cursor: pointer;
		transition: opacity 0.3s ease;
	}

	.primary-nav.is-open .primary-nav__backdrop {
		opacity: 1;
	}

	.primary-nav__panel {
		position: absolute;
		inset: 0;
		width: 100%;
		max-width: none;
		height: 100%;
		min-height: 100dvh;
		min-height: 100vh;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		gap: var(--space-xl);
		padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-2xl);
		padding-bottom: calc(var(--space-2xl) + env(safe-area-inset-bottom, 0px));
		background: var(--color-bg);
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		transform: translateY(-8px);
		opacity: 0;
		transition: transform 0.3s ease, opacity 0.3s ease;
	}

	.primary-nav.is-open .primary-nav__panel {
		transform: translateY(0);
		opacity: 1;
	}

	.primary-nav__list {
		flex: 0 0 auto;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 0;
		margin: 0;
		padding: 0;
		overflow: visible;
	}

	.primary-nav__list li {
		border-bottom: 1px solid var(--color-border);
	}

	.primary-nav__list a {
		display: block;
		padding: 1.125rem 0;
		font-size: 1.5rem;
		font-weight: 500;
		line-height: 1.3;
	}

	.primary-nav__list a::after {
		display: none;
	}

	.nav-cta {
		width: 100%;
		flex-shrink: 0;
		margin-top: auto;
		padding: 1rem 1.5rem;
		font-size: 1.125rem;
		text-align: center;
	}

	.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}

	.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
		opacity: 0;
	}

	.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
		transform: rotate(-45deg) translate(5px, -5px);
	}

	.section {
		padding-block: var(--space-3xl);
	}

	.pricing-card {
		padding: var(--space-xl);
	}

	.donation-options {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--space-sm);
		justify-content: stretch;
	}

	.donation-option {
		min-width: 0;
		width: 100%;
		padding: var(--space-md) var(--space-sm);
	}

	.donation-option__amount {
		font-size: 1.25rem;
	}

	.donation-custom input {
		max-width: none;
		width: 100%;
	}

	.payment-methods {
		grid-template-columns: 1fr;
	}

	.form-section {
		gap: var(--space-xl);
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: var(--space-xl);
		text-align: center;
	}

	.site-footer__brand {
		grid-column: auto;
	}

	.footer-nav,
	.site-footer .primary-nav__list {
		align-items: center;
	}

	.footer-nav a:hover,
	.site-footer .primary-nav__list a:hover {
		transform: none;
	}
}

@media (max-width: 480px) {
	.hero__actions {
		flex-direction: column;
		width: 100%;
	}

	.hero__actions .btn {
		width: 100%;
	}

	.fragewerk-form {
		padding: var(--space-lg);
	}

	.donation-options {
		grid-template-columns: 1fr 1fr;
	}

	.donation-option__amount {
		font-size: 1.125rem;
	}

	.donation-option__label {
		font-size: 0.75rem;
	}
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
	.site-header,
	.site-footer,
	.hero__actions,
	.fragewerk-form {
		display: none;
	}

	body {
		background: white;
		color: black;
	}
}
