/* ==========================================================================
   Panorama tokens – single source of stepped (non-fluid) design values.
   Source: docs/tokens.json + Semplice custom CSS (raw/). 1rem = 18px, always.

   BREAKPOINTS (Semplice, exact – copy these media queries verbatim):
     xs  @media (max-width: 543.98px)
     sm  @media (min-width: 544px) and (max-width: 767.98px)
     md  @media (min-width: 768px) and (max-width: 991.98px)
     lg  @media (min-width: 992px) and (max-width: 1169.98px)
     xl  @media (min-width: 1170px)
   Common groupings:
     mobile  (xs+sm, columns stack) @media (max-width: 767.98px)
     tablet+ (columns side by side) @media (min-width: 768px)
     desktop nav                    @media (min-width: 992px)

   Every value that changes per breakpoint is a custom property below, so
   blocks normally need NO media queries: use var(--pg-...) and you get the
   exact Semplice step for free.
   ========================================================================== */

:root {
	/* colours */
	--pg-green-900: #052c16;
	--pg-green-600: #438452;
	--pg-sage-100: #d9dfdb;
	--pg-paper: #f1f0f4;
	--pg-paper-2: #efeef2;
	--pg-white: #ffffff;
	--pg-ink-111: #111111;
	--pg-black: #000000;
	--pg-default-text: #292a2c; /* Semplice body colour (outside .is-content) */
	--pg-header-gradient: linear-gradient(180deg, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, 0) 100%);

	/* fonts */
	--pg-font-heading: "Sigurd-Light", sans-serif;
	--pg-font-body: "CabinetGrotesk-Variable", sans-serif;
	--pg-font-fallback: "Open Sans", Arial, sans-serif; /* Semplice default for wrappers */

	/* motion */
	--pg-hover: .2s linear;

	/* layout */
	--pg-header-h: 120px;           /* 6.667rem */
	--pg-offset-no-header: 70px;    /* content offset on pages without header (legal pages; Semplice default nav height) */
	--pg-container-max: 1550px;     /* boxed sections */
	--pg-gutter: 8px;               /* column padding-x => 16px between columns */

	/* ---- xl (>=1170) values; overridden below for smaller steps ---- */
	--pg-container-px: 2.77778rem;  /* 50 */

	--pg-h1-fs: 4.444444444444445rem;  /* 80 */
	--pg-h1-lh: 5.111111111111111rem;  /* 92 */
	--pg-h2-fs: 4.444444444444445rem;
	--pg-h2-lh: 5.111111111111111rem;
	--pg-h3-fs: 2.7777777777777777rem; /* 50 */
	--pg-h3-lh: 3.2777777777777777rem; /* 59 */
	--pg-p-fs: 1.2222222222222223rem;  /* 22 */
	--pg-p-lh: 1.5;                    /* 33 */
	--pg-li-fs: 1.2222222222222223rem; /* li is NOT stepped in Semplice: 22/33 at every width */
	--pg-li-lh: 1.5;

	--pg-btn-fs: 1.2rem;               /* 21.6 (>=992) */


	/* ---- SPACING SYSTEM (docs/SPACING.md) – xl values; stepped below. ----
	   All spacing in blocks must use these tokens (no magic numbers, CONTRACT.md §2). */
	--pg-gap: calc(2 * var(--pg-gutter)); /* 16px. gallery gap: between images horizontally, vertically and in stacks; = 2 x --pg-gutter */
	--pg-inset: calc(var(--pg-container-px) + var(--pg-gutter)); /* content inset: section edge -> content edge = 58 xl / 38 lg / 28 md-xs */
	--pg-section-s: 100px;             /* section padding top = bottom, small  (legal text, banner title, map end) */
	--pg-section-m: 150px;             /* section padding top = bottom, standard (galleries, amenities, CTA bands, facts) */
	--pg-section-l: 200px;             /* section padding top = bottom, large (editorial cards on /aktivitaeten) */
	--pg-section-band: 50px;           /* dark footer band, all widths */
	--pg-section-first: 200px;         /* top padding of a first section that sits under the fixed header (offset "none"), all widths */
	--pg-space-tight: 25px;            /* inside a group: heading -> subline/text, text -> button, images -> caption line */
	--pg-space-loose: 50px;            /* between groups: text group -> images/list/media, heading -> lone button */
}

/* lg 992–1169.98 */
@media (min-width: 992px) and (max-width: 1169.98px) {
	:root {
		--pg-container-px: 1.66667rem; /* 30 */
		--pg-h1-fs: 2.78rem; --pg-h1-lh: 3.06rem;
		--pg-h2-fs: 2.78rem; --pg-h2-lh: 3.06rem;
		--pg-h3-fs: 1.67rem; --pg-h3-lh: 2.11rem;
		--pg-p-fs: 1rem; --pg-p-lh: 1.5555555555556;
	}
}
/* md 768–991.98 */
@media (min-width: 768px) and (max-width: 991.98px) {
	:root {
		--pg-container-px: 1.11111rem; /* 20 */
		--pg-h1-fs: 2.78rem; --pg-h1-lh: 3.06rem;
		--pg-h2-fs: 2.78rem; --pg-h2-lh: 3.06rem;
		--pg-h3-fs: 1.67rem; --pg-h3-lh: 2.11rem;
		--pg-p-fs: 1rem; --pg-p-lh: 1.5555555555556;
		--pg-btn-fs: 1rem;
	}
}
/* sm 544–767.98 */
@media (min-width: 544px) and (max-width: 767.98px) {
	:root {
		--pg-container-px: 1.11111rem; /* 20 (Semplice had 30; SPACING.md: inset 28 = 20 + gutter at every phone/tablet step) */
		--pg-h1-fs: 2.22rem; --pg-h1-lh: 2.61rem;
		--pg-h2-fs: 2.22rem; --pg-h2-lh: 2.61rem;
		--pg-h3-fs: 1.44rem; --pg-h3-lh: 1.94rem;
		--pg-p-fs: 0.89rem; --pg-p-lh: 1.3333333333333;
		--pg-btn-fs: 0.83rem;
		--pg-section-s: 75px;
		--pg-section-m: 100px;
		--pg-section-l: 150px;
		--pg-space-tight: 20px;
		--pg-space-loose: 25px;
	}
}
/* xs 0–543.98 */
@media (max-width: 543.98px) {
	:root {
		--pg-container-px: 1.11111rem; /* 20 */
		--pg-h1-fs: 2.11rem; --pg-h1-lh: 2.44rem;
		--pg-h2-fs: 2.11rem; --pg-h2-lh: 2.44rem;
		--pg-h3-fs: 1.28rem; --pg-h3-lh: 1.67rem;
		--pg-p-fs: 0.83rem; --pg-p-lh: 1.3888888888889;
		--pg-btn-fs: 0.83rem;
		--pg-section-s: 75px;
		--pg-section-m: 100px;
		--pg-section-l: 100px;     /* phones: L collapses to M */
		--pg-space-tight: 20px;
		--pg-space-loose: 25px;
	}
}
