/*
 * Vögeli Zimmermann LAW – site styles (front end + block editor canvas).
 * Design: LY3_Vögeli-Zimmermann-law_Webdesign (colours, type, 1180px grid).
 */

/* ------------------------------------------------------------------ */
/* Fonts                                                               */
/* ------------------------------------------------------------------ */

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 200; /* ExtraLight: large step numbers */
	font-display: swap;
	src: url("../fonts/poppins-200.woff2") format("woff2");
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/poppins-300.woff2") format("woff2");
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/poppins-400.woff2") format("woff2");
}
/*
 * Display face. The design uses «Mastro Display Regular» (commercial). Until the webfont
 * licence is available, Gilda Display stands in. To switch: put mastro-display.woff2 into
 * assets/fonts/ and replace the url() below.
 */
@font-face {
	font-family: "VZL Display";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/gilda-display-400.woff2") format("woff2");
}

/* ------------------------------------------------------------------ */
/* Tokens                                                              */
/* The six colours are defaults: «Website → Website-Einstellungen →    */
/* Farben» overrides them (inline :root styles from the VZL Core plugin). */
/* ------------------------------------------------------------------ */

:root {
	--vzl-offwhite: #f6f7f5;
	--vzl-sage: #abb79f;
	--vzl-olive: #aa9f81;
	--vzl-green: #123524;
	--vzl-black: #000;
	--vzl-white: #fff;

	--vzl-font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--vzl-font-display: "VZL Display", Georgia, "Times New Roman", serif;

	--vzl-container: 1180px;
	--vzl-gutter: clamp(20px, 4vw, 40px);
	--vzl-gap: clamp(20px, 3vw, 40px);
	--vzl-section-y: clamp(72px, 11vw, 170px);

	--vzl-fs-h1: clamp(2rem, 1.3rem + 2.2vw, 3rem);
	--vzl-fs-h3: clamp(2.25rem, 1.2rem + 3.4vw, 4.4rem);
	--vzl-fs-h4: clamp(1.375rem, 1.05rem + 1vw, 2rem);
	--vzl-fs-lead: clamp(1.25rem, 0.9rem + 1.2vw, 1.75rem); /* intro text (design: Lead) */
	--vzl-fs-p: clamp(1.0625rem, 0.95rem + 0.45vw, 1.375rem); /* section texts (design: P) */
	--vzl-fs-card: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem); /* text on tiles and cards (design: small) */
	--vzl-fs-body: 1rem;
	--vzl-fs-small: 0.8125rem;
	--vzl-fs-label: 0.875rem;

	--vzl-header-h: 120px; /* scroll offset for anchor links below the floating logo */
	--vzl-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--vzl-header-h);
}

body,
.editor-styles-wrapper {
	margin: 0;
	background: var(--vzl-white);
	color: var(--vzl-green);
	font-family: var(--vzl-font-sans);
	font-size: var(--vzl-fs-body);
	font-weight: 300;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-family: var(--vzl-font-display);
	font-weight: 400;
	line-height: 1.12;
}

p {
	margin: 0;
}

strong,
b {
	font-weight: 400;
}

:focus-visible {
	outline: 2px solid var(--vzl-olive);
	outline-offset: 3px;
}

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

.skip-link:focus {
	position: fixed;
	z-index: 1000;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
	padding: 10px 16px;
	background: var(--vzl-white);
	color: var(--vzl-green);
}

/* ------------------------------------------------------------------ */
/* Layout & typography helpers                                         */
/* ------------------------------------------------------------------ */

.vzl-container {
	width: 100%;
	max-width: calc(var(--vzl-container) + 2 * var(--vzl-gutter));
	margin-inline: auto;
	padding-inline: var(--vzl-gutter);
}

.vzl-section {
	padding-block: var(--vzl-section-y);
}
/* Two sections with the same background read as one: no double spacing. */
.vzl-bg-white + .vzl-bg-white,
.vzl-bg-offwhite + .vzl-bg-offwhite {
	padding-top: 0;
}

.vzl-bg-white { background: var(--vzl-white); color: var(--vzl-green); }
.vzl-bg-offwhite { background: var(--vzl-offwhite); color: var(--vzl-green); }
.vzl-bg-sage { background: var(--vzl-sage); color: var(--vzl-green); }
.vzl-bg-green { background: var(--vzl-green); color: var(--vzl-white); }

/* Label column (1/3) + body (2/3), as in the design. */
.vzl-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	column-gap: var(--vzl-gap);
	row-gap: 16px;
	align-items: start;
}
.vzl-split + .vzl-split {
	margin-top: clamp(40px, 5vw, 64px);
}
.vzl-split__body > * + * {
	margin-top: 24px;
}

/* «RECHTSGEBIETE ———» */
.vzl-label {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-right: calc(-1 * var(--vzl-gap) + 12px);
	padding-top: 0.55em;
	font-family: var(--vzl-font-sans);
	font-size: var(--vzl-fs-label);
	font-weight: 300;
	letter-spacing: 0.02em;
	line-height: 1;
	text-transform: uppercase;
}
.vzl-label::after {
	content: "";
	flex: 1;
	height: 1px;
	background: currentColor;
	opacity: 0.6;
}

.vzl-h1 { font-size: var(--vzl-fs-h1); line-height: 1.08; }
.vzl-h3 { font-size: var(--vzl-fs-h3); line-height: 1.05; }
.vzl-h4 { font-size: var(--vzl-fs-h4); line-height: 1.2; }
.vzl-lead { font-size: var(--vzl-fs-lead); line-height: 1.5; color: var(--vzl-black); }
.vzl-text { font-size: var(--vzl-fs-p); line-height: 1.55; max-width: 34em; color: var(--vzl-black); }
.vzl-bg-green .vzl-text { color: inherit; }
.vzl-small { font-size: var(--vzl-fs-small); line-height: 1.6; }

.vzl-section-title {
	max-width: 12em;
	margin-bottom: clamp(40px, 6.5vw, 104px);
}

/* Buttons */
.vzl-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	padding: 9px 22px;
	border: 1px solid var(--vzl-green);
	border-radius: 999px;
	background: var(--vzl-green);
	color: var(--vzl-white);
	font-family: var(--vzl-font-sans);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.25s var(--vzl-ease), color 0.25s var(--vzl-ease), border-color 0.25s var(--vzl-ease);
}
.vzl-btn:hover,
.vzl-btn:focus-visible {
	background: var(--vzl-olive);
	border-color: var(--vzl-olive);
}
.vzl-btn--sage {
	background: var(--vzl-sage);
	border-color: var(--vzl-sage);
	color: var(--vzl-green);
}
.vzl-btn--sage:hover,
.vzl-btn--sage:focus-visible {
	background: var(--vzl-white);
	border-color: var(--vzl-white);
	color: var(--vzl-green);
}
.vzl-btn--outline {
	background: transparent;
	color: inherit;
	border-color: currentColor;
}
.vzl-btn--outline:hover,
.vzl-btn--outline:focus-visible {
	background: var(--vzl-green);
	border-color: var(--vzl-green);
	color: var(--vzl-white);
}
.vzl-bg-green .vzl-btn {
	background: var(--vzl-sage);
	border-color: var(--vzl-sage);
	color: var(--vzl-green);
}

/* Square «+» button */
.vzl-plus {
	position: relative;
	display: inline-block;
	flex: none;
	width: clamp(44px, 2.4rem + 1vw, 54px);
	height: clamp(44px, 2.4rem + 1vw, 54px);
	padding: 0;
	border: 0;
	background: var(--vzl-sage);
	color: var(--vzl-green);
	cursor: pointer;
	transition: background-color 0.25s var(--vzl-ease), color 0.25s var(--vzl-ease);
}
.vzl-plus::before,
.vzl-plus::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: var(--vzl-plus-arm, 55%);
	height: var(--vzl-plus-line, 1px);
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 0.3s var(--vzl-ease);
}
.vzl-plus::after {
	transform: translate(-50%, -50%) rotate(90deg);
}
.vzl-plus[aria-expanded="true"]::before {
	transform: translate(-50%, -50%) rotate(45deg);
}
.vzl-plus[aria-expanded="true"]::after {
	transform: translate(-50%, -50%) rotate(135deg);
}
.vzl-plus:hover,
.vzl-plus:focus-visible {
	background: var(--vzl-green);
	color: var(--vzl-white);
}
.vzl-plus--dark {
	background: var(--vzl-green);
	color: var(--vzl-white);
}
.vzl-plus--dark:hover,
.vzl-plus--dark:focus-visible {
	background: var(--vzl-white);
	color: var(--vzl-green);
}

/* Pills («Menü», «DE»): filled, colours follow the header theme. */
.vzl-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 3px 14px;
	border: 0;
	border-radius: 999px;
	background: var(--vzl-pill-bg, var(--vzl-green));
	color: var(--vzl-pill-fg, var(--vzl-white));
	font: inherit;
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.3s var(--vzl-ease), color 0.3s var(--vzl-ease);
}
.vzl-pill:hover,
.vzl-pill:focus-visible,
.vzl-pill[aria-expanded="true"] {
	background: var(--vzl-sage);
	color: var(--vzl-green);
}

/* ------------------------------------------------------------------ */
/* Header: floating Bildmarke + pills, fixed while scrolling.          */
/* White over dark sections (hero, green), green over light ones.     */
/* ------------------------------------------------------------------ */

.site-header {
	--vzl-pill-bg: var(--vzl-green);
	--vzl-pill-fg: var(--vzl-white);
	position: fixed;
	z-index: 50;
	inset: 0 0 auto;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: clamp(16px, 0.6rem + 1.2vw, 32px) clamp(16px, 0.5rem + 1.5vw, 30px);
	color: var(--vzl-green);
	pointer-events: none;
	transition: color 0.3s var(--vzl-ease), background-color 0.3s var(--vzl-ease);
}
.site-header > * {
	pointer-events: auto;
}
.site-header[data-theme="dark"] {
	--vzl-pill-bg: var(--vzl-white);
	--vzl-pill-fg: var(--vzl-green);
	color: var(--vzl-white);
}
.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.site-logo {
	display: block;
	width: clamp(64px, 3.5rem + 3.6vw, 112px);
	color: inherit;
}
.site-logo svg {
	width: 100%;
	height: auto;
}

.site-header__actions {
	display: flex;
	align-items: flex-start;
	gap: 2px;
	padding-top: clamp(0px, 0.4vw, 6px);
}

/* Below desktop width the floating header would cover text: backdrop once scrolled. */
@media (max-width: 1299px) {
	.site-header.is-scrolled[data-theme="light"] {
		background: color-mix(in srgb, var(--vzl-white) 94%, transparent);
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
	}
	.site-header.is-scrolled[data-theme="dark"] {
		background: color-mix(in srgb, var(--vzl-green) 90%, transparent);
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
	}
}

/* Space for the floating logo on pages that do not start with a hero. */
.site-main {
	padding-top: clamp(96px, 4rem + 5vw, 150px);
}
.has-hero .site-main {
	padding-top: 0;
}

/* Language dropdown: the other languages as pills below «DE». */
.vzl-langs {
	position: relative;
}
.vzl-langs__list {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.vzl-langs__list[hidden] {
	display: none;
}

/* ------------------------------------------------------------------ */
/* Menu overlay                                                        */
/* ------------------------------------------------------------------ */

.vzl-menu {
	--vzl-pill-bg: var(--vzl-white);
	--vzl-pill-fg: var(--vzl-green);
	position: fixed;
	z-index: 100;
	inset: 0;
	display: grid;
	grid-template-rows: auto 1fr auto;
	padding: clamp(16px, 0.6rem + 1.2vw, 32px) clamp(16px, 0.5rem + 1.5vw, 30px);
	overflow-y: auto;
	background: var(--vzl-green);
	color: var(--vzl-white);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s var(--vzl-ease), visibility 0s linear 0.35s;
}
.vzl-menu.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.35s var(--vzl-ease), visibility 0s;
}
.admin-bar .vzl-menu {
	top: var(--wp-admin--admin-bar--height, 32px);
}
.vzl-menu__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}
.vzl-menu__top .vzl-pill {
	margin-top: clamp(0px, 0.4vw, 6px);
}
.vzl-menu__nav {
	align-self: center;
	width: min(100%, var(--vzl-container));
	margin: 32px auto;
}
.vzl-menu__list {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: vzl-menu;
}
.vzl-menu__list li {
	counter-increment: vzl-menu;
	border-top: 1px solid color-mix(in srgb, var(--vzl-sage) 40%, transparent);
}
.vzl-menu__list li:last-child {
	border-bottom: 1px solid color-mix(in srgb, var(--vzl-sage) 40%, transparent);
}
.vzl-menu__list a {
	display: flex;
	align-items: baseline;
	gap: clamp(16px, 0.5rem + 3vw, 64px);
	padding: clamp(10px, 0.4rem + 0.8vw, 18px) 0;
	font-family: var(--vzl-font-display);
	font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.5rem);
	line-height: 1.1;
	text-decoration: none;
	transition: color 0.3s var(--vzl-ease), padding 0.3s var(--vzl-ease);
}
.vzl-menu__list a::before {
	content: counter(vzl-menu, decimal-leading-zero);
	min-width: 2.5ch;
	font-family: var(--vzl-font-sans);
	font-size: var(--vzl-fs-small);
	color: var(--vzl-sage);
}
.vzl-menu__list a:hover,
.vzl-menu__list a:focus-visible,
.vzl-menu__list .current-menu-item > a {
	color: var(--vzl-sage);
}
.vzl-menu__list a:hover {
	padding-left: 8px;
}
.vzl-menu__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	width: min(100%, var(--vzl-container));
	margin-inline: auto;
	font-size: var(--vzl-fs-small);
}
.vzl-menu__contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 32px;
}
.vzl-menu__footer a:not(.vzl-btn):not(.vzl-pill) {
	text-decoration: none;
}
.vzl-menu__footer a:not(.vzl-btn):not(.vzl-pill):hover {
	color: var(--vzl-sage);
}
.vzl-menu__langs {
	display: flex;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.vzl-menu__langs a[aria-current="true"] {
	background: var(--vzl-sage);
	color: var(--vzl-green);
}
body.menu-open {
	overflow: hidden;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.vzl-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(560px, 100svh, 980px);
	overflow: hidden;
	background: #0b0f0c;
	color: var(--vzl-white);
}
.vzl-hero__media {
	position: absolute;
	inset: 0;
}
.vzl-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.vzl-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(5, 10, 7, 0.55);
}
.vzl-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	column-gap: var(--vzl-gap);
	align-items: start;
	padding-block: clamp(140px, 30vh, 320px) clamp(64px, 10vh, 120px);
}
/* Wordmark with a thin line running to the headline. */
.vzl-hero__logo {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-right: calc(-1 * var(--vzl-gap) + 12px);
	padding-top: 0.15em;
}
.vzl-hero__logo svg {
	flex: none;
	width: clamp(120px, 6rem + 4vw, 188px);
}
.vzl-hero__logo::after {
	content: "";
	flex: 1;
	height: 1px;
	background: currentColor;
	opacity: 0.7;
}
.vzl-hero__content {
	grid-column: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(24px, 3vw, 40px);
}
.vzl-hero__title {
	max-width: 13.5em;
}
.vzl-btn--olive {
	background: var(--vzl-olive);
	border-color: var(--vzl-olive);
	color: var(--vzl-white);
}
.vzl-btn--olive:hover,
.vzl-btn--olive:focus-visible {
	background: var(--vzl-white);
	border-color: var(--vzl-white);
	color: var(--vzl-green);
}

/* ------------------------------------------------------------------ */
/* Einleitung                                                          */
/* ------------------------------------------------------------------ */

/* Title with a thin line running to the lead text, as in the design. */
.vzl-intro .vzl-split__label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-right: calc(-1 * var(--vzl-gap) + 12px);
}
.vzl-intro .vzl-split__label::after {
	content: "";
	flex: 1;
	min-width: 32px;
	height: 1px;
	margin-top: 0.75em;
	background: var(--vzl-sage);
}
.vzl-intro .vzl-h4 {
	max-width: 10em;
}
.vzl-intro {
	padding-bottom: calc(var(--vzl-section-y) * 1.6);
}

/* ------------------------------------------------------------------ */
/* Rechtsgebiete                                                       */
/* ------------------------------------------------------------------ */

.vzl-areas {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: clamp(56px, 8vw, 128px) 0 0;
	padding: 0;
	list-style: none;
}
.vzl-area {
	display: flex;
	flex-direction: column;
	min-height: clamp(260px, 30vw, 470px);
	padding: clamp(20px, 2vw, 30px);
	background: var(--vzl-green);
	color: var(--vzl-white);
	transition: background-color 0.35s var(--vzl-ease), color 0.35s var(--vzl-ease);
}
.vzl-area:hover,
.vzl-area:focus-visible {
	background: var(--vzl-sage);
	color: var(--vzl-green);
	outline: none;
}
.vzl-area__num {
	font-size: var(--vzl-fs-card);
}
.vzl-area__title {
	margin-top: 14px;
	font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
	line-height: 1.15;
}
.vzl-area__text {
	margin-top: auto;
	padding-top: 24px;
	max-width: 22em;
	font-size: var(--vzl-fs-card);
	line-height: 1.45;
}

/* ------------------------------------------------------------------ */
/* Team                                                                */
/* ------------------------------------------------------------------ */

.vzl-team {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(32px, 3vw, 40px) 16px;
	margin: clamp(56px, 8vw, 128px) 0 0;
	padding: 0;
	list-style: none;
}
.vzl-person__name {
	margin-bottom: 12px;
	color: var(--vzl-black);
	font-family: var(--vzl-font-sans);
	font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
	font-weight: 300;
	line-height: 1.3;
}
.vzl-person__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--vzl-offwhite);
}
.vzl-person__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 20%;
}
/* «Kopf & Schultern»: zoom full-length photos to a portrait crop, as in the design. */
.vzl-person__media--portrait img {
	object-position: 50% 0;
	transform: scale(1.75);
	transform-origin: 50% 36%;
}
.vzl-person__toggle {
	position: absolute;
	right: clamp(12px, 1.2vw, 18px);
	bottom: clamp(12px, 1.2vw, 18px);
	z-index: 2;
}
.vzl-person__bio {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow-y: auto;
	padding: clamp(20px, 2vw, 28px) clamp(20px, 2vw, 28px) 64px;
	background: color-mix(in srgb, var(--vzl-green) 94%, transparent);
	color: var(--vzl-white);
	font-size: var(--vzl-fs-small);
	line-height: 1.6;
	animation: vzl-fade 0.3s var(--vzl-ease);
}
.vzl-person__bio[hidden] {
	display: none;
}
.vzl-person__bio p + p {
	margin-top: 1em;
}
.vzl-person__contact a {
	text-decoration: none;
}
.vzl-person__contact a:hover {
	text-decoration: underline;
}
.vzl-person__role {
	margin-top: 12px;
	color: var(--vzl-black);
	font-size: var(--vzl-fs-body);
	line-height: 1.6;
}

@keyframes vzl-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* ------------------------------------------------------------------ */
/* Arbeitsweise                                                        */
/* ------------------------------------------------------------------ */

.vzl-steps-section .vzl-h3 {
	max-width: 10em;
}
.vzl-steps {
	margin: clamp(56px, 7vw, 104px) 0 0;
	padding: 0;
	list-style: none;
}
/* As in the design: thin olive rules, a large thin number in the label column,
   a narrow title column and a wider text column inside the body column. */
.vzl-step {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr) minmax(0, 1.22fr);
	column-gap: var(--vzl-gap);
	align-items: start;
	padding-block: clamp(20px, 2vw, 28px) clamp(24px, 2.4vw, 36px);
	border-top: 1px solid var(--vzl-olive);
}
.vzl-step:last-child {
	border-bottom: 1px solid var(--vzl-olive);
}
.vzl-step__num {
	padding-left: clamp(8px, 1vw, 16px);
	color: var(--vzl-olive);
	font-size: clamp(4.5rem, 2.5rem + 6.5vw, 9.75rem);
	font-weight: 200;
	line-height: 0.82;
	letter-spacing: -0.02em;
}
.vzl-step__title {
	max-width: 9em;
	font-size: clamp(1.375rem, 1.1rem + 0.9vw, 2rem);
	line-height: 1.12;
}
.vzl-step__text {
	max-width: 30em;
	padding-top: 4px;
	color: var(--vzl-black);
	font-size: var(--vzl-fs-body);
	line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* Honorar & Pakete                                                    */
/* ------------------------------------------------------------------ */

.vzl-packages {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: clamp(56px, 6vw, 96px) 0 0;
	padding: 0;
	list-style: none;
}
.vzl-package {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: clamp(380px, 37vw, 570px);
	padding: clamp(20px, 2vw, 32px) clamp(20px, 2vw, 32px) clamp(84px, 7vw, 100px);
	background: var(--vzl-sage);
	color: var(--vzl-green);
}
.vzl-package__price {
	font-size: clamp(1rem, 0.9rem + 0.35vw, 1.25rem);
}
.vzl-package__title {
	margin-top: clamp(56px, 7vw, 112px);
	font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
}
.vzl-package__text {
	margin-top: clamp(20px, 2.4vw, 36px);
	font-size: var(--vzl-fs-card);
	line-height: 1.6;
}
.vzl-package__link {
	position: absolute;
	right: clamp(16px, 1.5vw, 22px);
	bottom: clamp(16px, 1.5vw, 22px);
	pointer-events: none; /* Decorative: clicks go through to the card link underneath. */
	transition: background-color 0.25s var(--vzl-ease), color 0.25s var(--vzl-ease);
}
/* The whole card opens the package detail page. */
.vzl-package {
	transition: background-color 0.3s var(--vzl-ease);
}
.vzl-package__stretched {
	text-decoration: none;
}
.vzl-package__stretched::after {
	content: "";
	position: absolute;
	inset: 0;
}
.vzl-package:hover,
.vzl-package:focus-within {
	background: color-mix(in srgb, var(--vzl-sage) 82%, var(--vzl-white));
}
.vzl-package:hover .vzl-package__link,
.vzl-package:focus-within .vzl-package__link {
	background: var(--vzl-white);
	color: var(--vzl-green);
}

/* Package detail page */
.vzl-page-header.vzl-package-header .vzl-split {
	align-items: start;
}
.vzl-package-header .vzl-split__body > * + * {
	margin-top: 20px;
}
.vzl-package-header__price {
	font-size: var(--vzl-fs-small);
	letter-spacing: 0.04em;
}
.vzl-package-header .vzl-lead {
	max-width: 34em;
}
.vzl-package-cta__links {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.vzl-package-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 32px;
}

/* ------------------------------------------------------------------ */
/* Beiträge                                                            */
/* ------------------------------------------------------------------ */

.vzl-post-list {
	margin: clamp(32px, 3.5vw, 48px) 0 0;
	padding: 0;
	list-style: none;
}
/* As in the design: thin rules, large olive date, title + excerpt, a thin «+» on the right. */
.vzl-post-row {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
	column-gap: var(--vzl-gap);
	align-items: start;
	padding-block: clamp(18px, 1.6vw, 24px) clamp(22px, 2vw, 30px);
	border-top: 1px solid var(--vzl-olive);
}
.vzl-post-row:last-child {
	border-bottom: 1px solid var(--vzl-olive);
}
.vzl-post-row__date {
	color: var(--vzl-olive);
	font-size: clamp(1.375rem, 1.1rem + 0.9vw, 2rem);
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: -0.01em;
}
.vzl-post-row__title {
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
	line-height: 1.1;
	transition: color 0.25s var(--vzl-ease);
}
.vzl-post-row__title a {
	text-decoration: none;
}
.vzl-post-row__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.vzl-post-row__excerpt {
	margin-top: clamp(14px, 1.4vw, 20px);
	max-width: 40em;
	color: var(--vzl-black);
	font-size: var(--vzl-fs-card);
	line-height: 1.6;
}
/* Bare thin cross, no box. */
.vzl-post-row__link {
	--vzl-plus-line: 1px;
	--vzl-plus-arm: 30px;
	width: 44px;
	height: 44px;
	margin-top: -4px;
	background: transparent;
	color: var(--vzl-green);
}
.vzl-post-row__link:hover,
.vzl-post-row__link:focus-visible,
.vzl-post-row:hover .vzl-post-row__link {
	background: transparent;
	color: var(--vzl-olive);
}
.vzl-post-row:hover .vzl-post-row__link::before {
	transform: translate(-50%, -50%) rotate(90deg);
}
.vzl-post-row:hover .vzl-post-row__link::after {
	transform: translate(-50%, -50%) rotate(180deg);
}
.vzl-post-row:hover .vzl-post-row__title {
	color: var(--vzl-olive);
}
/* The articles label has no rule in the design. */
.vzl-posts-section .vzl-split__label .vzl-label::after {
	display: none;
}
.vzl-post-list__all {
	margin-top: 40px;
}

/* ------------------------------------------------------------------ */
/* Bild                                                                */
/* ------------------------------------------------------------------ */

.vzl-figure {
	margin: 0;
}
.vzl-figure--container {
	max-width: calc(var(--vzl-container) + 2 * var(--vzl-gutter));
	margin-inline: auto;
	padding: var(--vzl-section-y) var(--vzl-gutter) 0;
}
.vzl-figure__media {
	overflow: hidden;
	background: var(--vzl-offwhite);
}
.vzl-figure__media img {
	width: 100%;
}
.vzl-figure--h-normal .vzl-figure__media img {
	height: clamp(280px, 31vw, 520px);
	object-fit: cover;
}
.vzl-figure--focus-top .vzl-figure__media img { object-position: 50% 15%; }
.vzl-figure--focus-bottom .vzl-figure__media img { object-position: 50% 85%; }
.vzl-figure--h-tall .vzl-figure__media img {
	height: clamp(420px, 70vw, 920px);
	object-fit: cover;
}
.vzl-figure__caption {
	padding-top: 12px;
	font-size: var(--vzl-fs-small);
}
.vzl-figure--container .vzl-figure__caption {
	padding-inline: 0;
}

/* ------------------------------------------------------------------ */
/* Kontakt                                                             */
/* ------------------------------------------------------------------ */

.vzl-contact__note {
	max-width: 12em;
	padding-top: 6px;
	color: var(--vzl-black);
	font-size: var(--vzl-fs-card);
	line-height: 1.45;
}
.vzl-contact__links {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.vzl-contact__links > * + * {
	margin-top: 0;
}
.vzl-contact__link {
	color: var(--vzl-olive);
	font-size: clamp(1.375rem, 1rem + 1.2vw, 2rem);
	line-height: 1.3;
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: color 0.2s var(--vzl-ease);
}
a.vzl-contact__link:hover {
	color: var(--vzl-green);
}

/* ------------------------------------------------------------------ */
/* Text (prose)                                                        */
/* ------------------------------------------------------------------ */

.vzl-prose {
	max-width: 46em;
	font-size: var(--vzl-fs-body);
	line-height: 1.75;
}
.vzl-prose > * + *,
.vzl-prose .vzl-lang > * + * {
	margin-top: 1.1em;
}
.vzl-prose h2 {
	margin-top: 1.8em;
	font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);
}
.vzl-prose h3 {
	margin-top: 1.6em;
	font-size: var(--vzl-fs-h4);
}
.vzl-prose h4 {
	margin-top: 1.4em;
	font-family: var(--vzl-font-sans);
	font-size: 1rem;
	font-weight: 400;
}
.vzl-prose > :first-child,
.vzl-prose .vzl-lang > :first-child {
	margin-top: 0;
}
.vzl-prose ul,
.vzl-prose ol {
	padding-left: 1.25em;
}
.vzl-prose li + li {
	margin-top: 0.35em;
}
.vzl-prose li::marker {
	color: var(--vzl-olive);
}
.vzl-prose blockquote {
	margin: 1.6em 0;
	padding-left: 24px;
	border-left: 3px solid var(--vzl-sage);
	font-family: var(--vzl-font-display);
	font-size: var(--vzl-fs-h4);
	line-height: 1.35;
}
.vzl-prose blockquote cite {
	display: block;
	margin-top: 12px;
	font-family: var(--vzl-font-sans);
	font-size: var(--vzl-fs-small);
	font-style: normal;
}
.vzl-prose a {
	text-decoration: underline;
}
.vzl-prose a:hover {
	color: var(--vzl-olive);
}

/* ------------------------------------------------------------------ */
/* Bild + Text                                                         */
/* ------------------------------------------------------------------ */

.vzl-media-text__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--vzl-gap);
	align-items: center;
}
.vzl-media-text--right .vzl-media-text__media {
	order: 2;
}
.vzl-media-text__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}
.vzl-media-text__body > * + * {
	margin-top: 24px;
}
.vzl-media-text__body .vzl-label {
	margin-right: 0;
}

/* ------------------------------------------------------------------ */
/* Page header (pages without hero, articles, archive)                 */
/* ------------------------------------------------------------------ */

.vzl-page-header {
	padding-block: clamp(56px, 8vw, 112px) clamp(32px, 4vw, 56px);
	background: var(--vzl-offwhite);
}
.vzl-page-header .vzl-split {
	align-items: end;
}
.vzl-page-header__meta {
	font-size: var(--vzl-fs-small);
}
.vzl-page-header + .vzl-bg-offwhite {
	padding-top: 0;
}
.vzl-page-header__thumb {
	margin-top: clamp(32px, 4vw, 56px);
}
.vzl-page-header__thumb img {
	width: 100%;
	max-height: 620px;
	object-fit: cover;
}
.vzl-back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: var(--vzl-fs-small);
	text-decoration: none;
}
.vzl-back::before {
	content: "←";
}
.vzl-back:hover {
	color: var(--vzl-olive);
}
.vzl-pagination {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 40px;
}

/* ------------------------------------------------------------------ */
/* Footer: white, three columns on the page grid (as in the design)    */
/* ------------------------------------------------------------------ */

.site-footer {
	padding-block: clamp(64px, 10vw, 160px) clamp(32px, 3vw, 48px);
	background: var(--vzl-white);
	color: var(--vzl-black);
	font-size: var(--vzl-fs-card);
	line-height: 1.5;
}
.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr) minmax(0, 1.22fr);
	column-gap: var(--vzl-gap);
	row-gap: 24px;
}
.site-footer address {
	font-style: normal;
}
.site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-footer a {
	text-decoration: none;
}
.site-footer a:hover,
.site-footer a:focus-visible {
	color: var(--vzl-olive);
}

/* 404 */
.vzl-404 {
	min-height: 50vh;
}

/* ------------------------------------------------------------------ */
/* Motion (GSAP, assets/js/animations.js)                              */
/* ------------------------------------------------------------------ */

/* Thin rules draw from left to right: GSAP animates --rule-progress from 0 to 1. */
.vzl-label::after,
.vzl-hero__logo::after,
.vzl-intro .vzl-split__label::after {
	transform: scaleX(var(--rule-progress, 1));
	transform-origin: left center;
}

/*
 * html.motion is set in <head> (not with reduced motion). The intro elements stay hidden until
 * GSAP takes over; if the script never runs, the failsafe animation shows them after 2.5 s.
 */
html.motion .site-header__actions,
html.motion .vzl-hero__logo,
html.motion .vzl-hero__title,
html.motion .vzl-hero__content .vzl-btn,
html.motion .vzl-page-header .vzl-label,
html.motion .vzl-page-header h1,
html.motion .vzl-page-header .vzl-lead,
html.motion .vzl-page-header__meta,
html.motion .vzl-package-header__price,
html.motion .vzl-page-header__thumb {
	opacity: 0;
	animation: vzl-motion-failsafe 0.4s ease 2.5s forwards;
}
@keyframes vzl-motion-failsafe {
	to { opacity: 1; }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 960px) {
	.vzl-areas,
	.vzl-team,
	.vzl-packages {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.vzl-step {
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	}
	.vzl-step__num {
		grid-row: span 2;
	}
	.vzl-step__text {
		grid-column: 2;
	}
}

@media (max-width: 720px) {
	:root {
		--vzl-header-h: 96px;
	}
	.vzl-split,
	.vzl-hero__inner,
	.vzl-media-text__grid,
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.vzl-label {
		margin-right: 0;
	}
	.vzl-hero__content {
		grid-column: 1;
	}
	.vzl-hero__logo {
		margin: 0 0 28px;
	}
	.vzl-hero__logo::after {
		display: none;
	}
	.vzl-intro .vzl-split__label::after {
		display: none;
	}
	.vzl-areas,
	.vzl-team,
	.vzl-packages {
		grid-template-columns: minmax(0, 1fr);
	}
	.vzl-area {
		min-height: 0;
	}
	.vzl-area__text {
		padding-top: 32px;
	}
	.vzl-step,
	.vzl-post-row {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 8px;
	}
	.vzl-step__num {
		grid-row: auto;
		font-size: 4rem;
	}
	.vzl-step__text {
		grid-column: auto;
		padding-top: 0;
	}
	.vzl-post-row__link {
		display: none;
	}
	.vzl-media-text--right .vzl-media-text__media {
		order: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
