/* Chanzo
   Charakter: großzügig, warm, bildstark, modern und organisch.
*/

/* fuzzy-bubbles-regular - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Fuzzy Bubbles';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/fuzzy-bubbles-v9-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
	url('../fonts/fuzzy-bubbles-v9-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* fuzzy-bubbles-700 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Fuzzy Bubbles';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/fuzzy-bubbles-v9-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
	url('../fonts/fuzzy-bubbles-v9-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

:root {
	--cz-bg: #f6f3ed;
	--cz-surface: #ffffff;
	--cz-text: #20312d;
	--cz-muted: #66736e;
	--cz-primary: #f04d02;
	--cz-primary-dark: #7d2b06;
	--cz-accent: #fa932d;
	--cz-line: rgba(32, 49, 45, 0.14);
	--cz-shadow: 0 20px 50px rgba(20, 45, 39, 0.10);

	--cz-shell: min(1180px, calc(100% - 40px));
	--cz-shell-narrow: min(820px, calc(100% - 40px));
	--cz-radius: 28px;

	--cz-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--cz-font-display: "Fuzzy Bubbles", "Times New Roman", serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--cz-bg);
	color: var(--cz-text);
	font-family: var(--cz-font-sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--cz-font-display)!important;
}

.shell {
	width: var(--cz-shell);
	margin-inline: auto;
}

.shell--narrow {
	width: var(--cz-shell-narrow);
}

.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,
.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 99999;
	width: auto;
	height: auto;
	padding: 12px 16px;
	background: #fff;
	color: #111;
	clip: auto;
	border-radius: 8px;
}

/* Header */

.site-header {
	position: relative;
	z-index: 50;
	background: rgba(246, 243, 237, 0.93);
	border-bottom: 1px solid var(--cz-line);
	backdrop-filter: blur(16px);
}

.chanzo-front-page .site-header {
	position: absolute;
	inset: 0 0 auto;
	background: linear-gradient(to bottom, rgba(13, 35, 31, 0.58), rgba(13, 35, 31, 0));
	border-bottom: 0;
	color: #fff;
}

.site-header__inner {
	min-height: 88px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.custom-logo {
	width: auto;
	max-height: 58px;
}

.site-branding__name {
	font-family: var(--cz-font-display);
	font-size: clamp(1.5rem, 2vw, 2rem);
	font-weight: 700;
	text-decoration: none;
}

.primary-menu,
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: clamp(20px, 2.4vw, 36px);
}

.primary-menu a {
	display: block;
	padding: 10px 0;
	font-size: 0.93rem;
	font-weight: 650;
	letter-spacing: 0.015em;
	text-decoration: none;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

.primary-menu .menu-item-has-children {
	position: relative;
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: -18px;
	min-width: 220px;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: #fff;
	color: var(--cz-text);
	border: 1px solid var(--cz-line);
	border-radius: 14px;
	box-shadow: var(--cz-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: 160ms ease;
}

.primary-menu .menu-item-has-children:hover > .sub-menu,
.primary-menu .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-menu .sub-menu a {
	padding: 9px 10px;
	border-radius: 8px;
}

.primary-menu .sub-menu a:hover {
	background: var(--cz-bg);
	text-decoration: none;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.nav-toggle__label {
	font-size: 0.9rem;
	font-weight: 700;
}

.nav-toggle__icon {
	display: grid;
	gap: 4px;
	width: 24px;
}

.nav-toggle__icon span {
	height: 2px;
	width: 100%;
	background: currentColor;
	border-radius: 999px;
}

/* Front page */

.front-hero {
	position: relative;
	isolation: isolate;
	min-height: min(760px, 88vh);
	display: grid;
	align-items: end;
	overflow: hidden;
	background:
		radial-gradient(circle at 70% 25%, rgba(212, 154, 98, .38), transparent 32%),
		linear-gradient(135deg, #214f45, #183b35);
	color: #fff;
}

.front-hero__media,
.front-hero__veil {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.front-hero__media {
	background-size: cover;
	background-position: center;
	transform: scale(1.015);
}

.front-hero__veil {
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(13, 35, 31, .80) 0%, rgba(13, 35, 31, .55) 42%, rgba(13, 35, 31, .15) 72%, rgba(13, 35, 31, .30) 100%),
		linear-gradient(to top, rgba(13, 35, 31, .45), transparent 50%);
}

.front-hero__content {
	padding-top: 180px;
	padding-bottom: clamp(90px, 11vw, 160px);
}

.front-hero__copy {
	max-width: 760px;
}

.front-hero h1,
.page-title,
.article h1,
.error-page h1 {
	margin: 0;
	font-family: var(--cz-font-display);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: .98;
}

.front-hero h1 {
	font-size: clamp(3.4rem, 8vw, 7rem);
	max-width: 12ch;
	text-wrap: balance;
}

.front-hero__lead {
	max-width: 640px;
	margin: 28px 0 0;
	font-size: clamp(1.15rem, 2vw, 1.5rem);
	line-height: 1.5;
	color: rgba(255,255,255,.9);
}

.eyebrow {
	margin: 0 0 18px;
	font-size: .78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .17em;
}

.front-hero__shape {
	position: absolute;
	right: -10vw;
	bottom: -140px;
	width: min(48vw, 620px);
	aspect-ratio: 1.45;
	background: var(--cz-bg);
	border-radius: 50% 0 0 0 / 70% 0 0 0;
	transform: rotate(-6deg);
}

/* Main/content */

.site-main {
	min-height: 55vh;
}

.page-header {
	padding-top: clamp(72px, 9vw, 130px);
	padding-bottom: 42px;
}

.page-title {
	font-size: clamp(3rem, 6vw, 5.4rem);
}

.content-prose {
	padding-bottom: 100px;
}

.content-prose > * + * {
	margin-top: 1.35em;
}

.content-prose h2,
.content-prose h3 {
	font-family: var(--cz-font-display);
	line-height: 1.15;
}

.content-prose h2 {
	font-size: clamp(2rem, 4vw, 3.1rem);
}

.content-prose a {
	color: var(--cz-primary);
}

.elementor-content-area {
	width: 100%;
}

/*
 * Elementor soll den Inhaltsbereich selbst steuern dürfen.
 * Keine zusätzliche Theme-Maximalbreite um Elementor herum.
 */
.chanzo-elementor-page .elementor-content-area,
.front-page .elementor-content-area {
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Kleine globale Elementor-Angleichungen */
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3 {
	font-family: var(--cz-font-display);
	letter-spacing: -0.025em;
}

.elementor-button {
	border-radius: 999px !important;
	padding: 14px 24px !important;
	font-weight: 700 !important;
}


.elementor-element.elementor-button-info .elementor-button {
	background-color: var(--cz-primary) !important;
}

.elementor-element.elementor-button-success .elementor-button {
	background-color: #5cb85c !important;
}

.elementor-element.elementor-button-warning .elementor-button {
	background-color: #f0ad4e !important;
}

.elementor-element.elementor-button-danger .elementor-button {
	background-color: #d9534f !important;
}

.elementor-widget-button .elementor-button .elementor-button-info {
	background-color: var(--cz-primary) !important;
}

.elementor-widget-button .elementor-button .elementor-button-success {
	background-color: #5cb85c !important;
}

.elementor-widget-button .elementor-button .elementor-button-warning {
	background-color: #f0ad4e !important;
}

.elementor-widget-button .elementor-button .elementor-button-danger {
	background-color: #d9534f !important;
}

/* Blog */

.archive-header {
	padding: 90px 0 48px;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	padding-bottom: 100px;
}

.post-card {
	overflow: hidden;
	background: var(--cz-surface);
	border: 1px solid var(--cz-line);
	border-radius: var(--cz-radius);
}

.post-card__image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.post-card__body {
	padding: 28px;
}

.post-card h2 {
	margin: 0;
	font-family: var(--cz-font-display);
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	line-height: 1.1;
}

.post-card h2 a {
	text-decoration: none;
}

.article {
	padding-top: 90px;
	padding-bottom: 110px;
}

.article__header {
	margin-bottom: 42px;
}

.article h1 {
	font-size: clamp(3rem, 6vw, 5.7rem);
}

.article__image {
	margin-bottom: 44px;
	overflow: hidden;
	border-radius: var(--cz-radius);
}

/* Footer */

.site-footer {
	background: var(--cz-primary);
	color: rgba(255,255,255,.88);
}

.site-footer__inner,
.section-spenden__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr auto;
	gap: 42px;
	align-items: start;
	padding-top: 64px;
	padding-bottom: 58px;
}

.site-footer__name {
	font-family: var(--cz-font-display);
	font-size: 2rem;
	font-weight: 700;
	color: #fff;
}

.site-footer__tagline {
	max-width: 420px;
	margin: 10px 0 0;
	color: rgba(255,255,255,.68);
}

.footer-menu {
	display: grid;
	gap: 8px;
}

.footer-menu a {
	text-decoration: none;
}

.footer-menu a:hover {
	text-decoration: underline;
}

.site-footer__meta {
	font-size: .88rem;
	color: rgba(255,255,255,.58);
}

/* Buttons */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 22px;
	border-radius: 999px;
	background: var(--cz-primary);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.button:hover {
	background: var(--cz-primary-dark);
}

/* Error */

.error-page {
	padding-top: 120px;
	padding-bottom: 140px;
}

.error-page h1 {
	font-size: clamp(3rem, 6vw, 5rem);
}

.error-page p:not(.eyebrow) {
	max-width: 620px;
	margin: 24px 0 32px;
}

/* Responsive */

@media (max-width: 899px) {
	:root {
		--cz-shell: min(100% - 30px, 1180px);
		--cz-shell-narrow: min(100% - 30px, 820px);
	}

	.site-header__inner {
		min-height: 76px;
	}

	.nav-toggle {
		display: inline-flex;
		position: relative;
		z-index: 3;
	}

	.primary-navigation {
		position: fixed;
		inset: 0 0 auto;
		padding: 100px 24px 28px;
		background: var(--cz-primary);
		color: #fff;
		box-shadow: var(--cz-shadow);
		transform: translateY(-110%);
		transition: transform 220ms ease;
	}

	.primary-navigation.is-open {
		transform: translateY(0);
	}

	.primary-menu {
		display: grid;
		gap: 4px;
	}

	.primary-menu a {
		padding: 12px 0;
		font-size: 1.1rem;
	}

	.primary-menu .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 0 0 0 18px;
		background: transparent;
		color: inherit;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-menu .sub-menu a:hover {
		background: transparent;
	}

	body.nav-open {
		overflow: hidden;
	}

	.front-hero {
		min-height: 700px;
	}

	.front-hero__content {
		padding-top: 150px;
		padding-bottom: 110px;
	}

	.front-hero__shape {
		right: -25vw;
		bottom: -120px;
		width: 85vw;
	}

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

	.site-footer__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	body {
		font-size: 16px;
	}

	.front-hero h1 {
		font-size: clamp(3rem, 16vw, 4.8rem);
	}

	.front-hero__lead {
		font-size: 1.05rem;
	}

	.site-footer__inner {
		padding-top: 48px;
		padding-bottom: 42px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
body.elementor-editor-active .site-header {
    position: relative !important;
    inset: auto !important;
    background: #17362f;
}


#section-spenden {
	background-color: var(--cz-accent);
}