/* ==========================================================
   Salvie – roligt tema til massageklinik
   Farver og skrift ændres ét sted: :root herunder.
   ========================================================== */

@font-face {
	font-family: "Marcellus";
	src: url("../fonts/marcellus.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Standard: Rosé og blomme. Paletterne vælges i Tilpas → Klinikkens indhold → Farver. */
	--tint: #d9aaa3;          /* flader og dekoration */
	--tint-light: #f3e3df;
	--tint-bg: #faf3f1;       /* lys baggrund */
	--accent: #7a4a5a;        /* knapper og footer – mørk nok til hvid tekst */
	--accent-hover: #633a49;
	--ink: #3a2e31;           /* overskrifter */
	--muted: #6e6164;         /* brødtekst */
	--line: #eee0dc;

	--font-display: "Marcellus", Georgia, "Times New Roman", serif;
	--font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1120px;
	--header-h: 76px;
	--space: clamp(72px, 10vw, 128px);
	--leaf: 0 110px 0 110px;     /* bladform på billeder */
	--leaf-sm: 0 64px 0 64px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

.palette-lavendel {
	--tint: #bba9d1;
	--tint-light: #ebe4f3;
	--tint-bg: #f7f4fa;
	--accent: #5e4b7c;
	--accent-hover: #4b3b65;
	--ink: #2f2a38;
	--muted: #665f6f;
	--line: #e6e0ee;
}
.palette-abrikos {
	--tint: #ebb690;
	--tint-light: #f8e6d8;
	--tint-bg: #fcf5ef;
	--accent: #9a5a35;
	--accent-hover: #7f4829;
	--ink: #3a2f28;
	--muted: #6d6158;
	--line: #f0e3d8;
}
.palette-salvie {
	--tint: #9fb49b;
	--tint-light: #e3eae1;
	--tint-bg: #f2f5f1;
	--accent: #5f7a5a;
	--accent-hover: #4c6448;
	--ink: #2e3330;
	--muted: #646b65;
	--line: #e3e6e1;
}

/* ---------- Grundlag ---------- */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--muted);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.15;
	color: var(--ink);
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

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

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 1000;
	background: #fff;
	color: var(--ink);
	padding: 10px 18px;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Knapper (inkl. LatePoint) ---------- */

.pz-btn,
.pz-book .latepoint-book-button {
	display: inline-block;
	padding: 14px 30px !important;
	background: var(--accent) !important;
	color: #fff !important;
	border: 1px solid var(--accent) !important;
	border-radius: 0 !important;
	font: 500 0.95rem/1.2 var(--font-body) !important;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none !important;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.pz-btn:hover,
.pz-book .latepoint-book-button:hover {
	background: var(--accent-hover) !important;
	border-color: var(--accent-hover) !important;
	color: #fff !important;
}

.pz-book--light .pz-btn,
.pz-book--light .latepoint-book-button {
	background: #fff !important;
	border-color: #fff !important;
	color: var(--ink) !important;
}
.pz-book--light .pz-btn:hover,
.pz-book--light .latepoint-book-button:hover {
	background: var(--tint-light) !important;
	border-color: var(--tint-light) !important;
	color: var(--ink) !important;
}

.pz-book--outline .pz-btn,
.pz-book--outline .latepoint-book-button {
	background: transparent !important;
	color: var(--accent) !important;
}
.pz-book--outline .pz-btn:hover,
.pz-book--outline .latepoint-book-button:hover {
	background: var(--accent) !important;
	color: #fff !important;
}

.pz-book--header .pz-btn,
.pz-book--header .latepoint-book-button {
	padding: 11px 22px !important;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--header-h);
}

.brand-name {
	font-family: var(--font-display);
	font-size: 1.45rem;
	color: var(--ink);
	text-decoration: none;
}
.custom-logo { max-height: 52px; width: auto; }

.site-nav {
	display: flex;
	align-items: center;
	gap: 40px;
}

.nav-list {
	display: flex;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav-list a {
	color: var(--ink);
	font-size: 0.97rem;
	text-decoration: none;
	padding: 6px 0;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s;
}
.nav-list a:hover { border-color: var(--tint); color: var(--ink); }

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
	display: block;
	width: 22px;
	height: 1.5px;
	background: var(--ink);
	transition: transform 0.2s, background-color 0.2s;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
	.nav-toggle { display: flex; }

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		padding: 4px 24px 28px;
		background: #fff;
		border-bottom: 1px solid var(--line);
	}
	.site-nav.is-open { display: flex; }

	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a {
		display: block;
		padding: 14px 0;
		border-bottom: 1px solid var(--line);
		font-size: 1.05rem;
	}
	.pz-book--header .pz-btn,
	.pz-book--header .latepoint-book-button {
		display: block;
		text-align: center;
		padding: 15px 22px !important;
	}
}

/* ---------- Topbillede ---------- */

.hero {
	position: relative;
	display: grid;
	place-items: center;
	min-height: min(80vh, 720px);
	overflow: hidden;
	text-align: center;
	color: #fff;
	background: linear-gradient(135deg, var(--accent), var(--tint));
}
.hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(30, 22, 25, 0.2), rgba(30, 22, 25, 0.42));
}
.hero-content {
	position: relative;
	z-index: 1;
	max-width: 780px;
	padding: 96px 24px;
}
.hero h1 {
	color: #fff;
	font-size: clamp(2.6rem, 6.4vw, 4.75rem);
	line-height: 1.08;
	text-wrap: balance;
}
.hero p {
	max-width: 42ch;
	margin: 22px auto 38px;
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	color: rgba(255, 255, 255, 0.94);
}

/* ---------- Sektioner ---------- */

.section { padding: var(--space) 0; }

.section-head {
	max-width: 640px;
	margin: 0 auto clamp(40px, 6vw, 64px);
	text-align: center;
}
.section-title { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.section-intro { margin: 16px 0 0; }

/* ---------- Behandlinger ---------- */

.service-list {
	max-width: 1040px;
	margin: 0 auto;
	border-top: 1px solid var(--line);
}

.service {
	display: grid;
	grid-template-columns: 260px 1fr auto;
	gap: 48px;
	align-items: center;
	padding: 44px 0;
	border-bottom: 1px solid var(--line);
}

.service {
	position: relative;
	padding-inline: 28px;
	transition: background-color 0.4s;
}
.service:hover { background: var(--tint-bg); }

.service-media {
	width: 260px;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--leaf);
	background: var(--tint-light);
}
.service-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.service:hover .service-img { transform: scale(1.06); }

.service h3 {
	margin-bottom: 12px;
	font-size: clamp(1.6rem, 2.6vw, 2.15rem);
}
.service-desc { max-width: 48ch; }
.service-desc p { margin: 0 0 0.6em; }
.service-desc p:last-child { margin-bottom: 0; }

.service-meta {
	display: flex;
	gap: 24px;
	margin: 18px 0 0;
	color: var(--ink);
}
.service-price { font-weight: 600; }

@media (max-width: 820px) {
	.service {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 36px 0;
	}
	.service { padding-inline: 0; }
	.service:hover { background: none; }
	.service-media { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--leaf-sm); }
}

/* ---------- Om mig ---------- */

.about {
	padding: var(--space) 0;
	background: var(--tint-bg);
}
.about-inner {
	display: grid;
	grid-template-columns: 5fr 6fr;
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
	max-width: 1088px;
}
.about-media {
	position: relative;
	margin: 0 32px 32px 0;
}
.about-media::before {
	content: "";
	position: absolute;
	inset: 32px -32px -32px 32px;
	border-radius: 0 160px 0 160px;
	background: var(--tint);
}
.about-img {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 0 160px 0 160px;
}
.about-img--empty { background: var(--tint-light); }

.about h2 { font-size: clamp(2.2rem, 4vw, 3rem); }
.about-role {
	margin: 8px 0 28px;
	font-size: 1.05rem;
	color: var(--accent);
}
.about-text p { margin: 0 0 16px; max-width: 54ch; }

.about-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 48px;
	margin: 32px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid var(--line);
	list-style: none;
}
.about-facts strong {
	display: block;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.75rem;
	line-height: 1.1;
	color: var(--ink);
}
.about-facts span { font-size: 0.92rem; }

@media (max-width: 820px) {
	.about-inner { grid-template-columns: 1fr; }
	.about-media { margin: 0 16px 16px 0; }
	.about-media::before { inset: 16px -16px -16px 16px; border-radius: var(--leaf-sm); }
	.about-img { aspect-ratio: 1; border-radius: var(--leaf-sm); }
}

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

.contact-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	gap: 40px;
	max-width: 1040px;
	margin: 0 auto;
}
.contact-grid h3 {
	margin-bottom: 12px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 1rem;
	color: var(--ink);
}
.contact-grid p { margin: 0 0 20px; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Kort ---------- */

.map {
	position: relative;
	height: 440px;
	background: var(--tint-bg);
}
.map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}
.map iframe {
	filter: grayscale(0.65) contrast(0.95);
	transition: filter 0.5s;
}
.map:hover iframe { filter: none; }

/* ---------- Footer ---------- */

.site-footer {
	padding: clamp(56px, 8vw, 80px) 0 40px;
	background: var(--accent);
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.9rem;
	text-align: center;
}
.footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.footer-mark { color: #fff; }
.footer-mark .mark-lotus { width: 72px; height: 72px; }
.footer-mark .mark-logo {
	max-width: 88px;
	max-height: 88px;
	width: auto;
	filter: brightness(0) invert(1);
}
.footer-name {
	margin: 14px 0 32px;
	font-family: var(--font-display);
	font-size: 1.5rem;
	letter-spacing: 0.1em;
	color: #fff;
}
.footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 28px;
	margin: 0;
	padding: 24px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	list-style: none;
}
.footer-links a { color: rgba(255, 255, 255, 0.9); }
.footer-links a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }

/* ---------- Almindelige sider ---------- */

.page-content {
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(56px, 8vw, 96px) 24px;
}
.page-content h1 {
	margin-bottom: 32px;
	font-size: clamp(2.2rem, 4.5vw, 3rem);
}
.entry h2 { margin: 1.6em 0 0.5em; font-size: 1.7rem; }
.entry h3 { margin: 1.4em 0 0.4em; font-size: 1.3rem; }


/* ==========================================================
   Header oven på topbilledet (forsiden)
   ========================================================== */

.has-hero .site-header {
	position: fixed;
	left: 0;
	right: 0;
	background: transparent;
	transition: background-color 0.35s, box-shadow 0.35s;
}
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .brand-name,
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .nav-list a { color: #fff; }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .nav-list a:hover { border-color: rgba(255, 255, 255, 0.7); }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .nav-toggle-bar,
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .nav-toggle-bar::before,
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .nav-toggle-bar::after { background: #fff; }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }

.has-hero .site-header.is-scrolled,
.has-hero .site-header.nav-open {
	background: #fff;
	box-shadow: 0 1px 0 var(--line);
}

/* Ensfarvet logo: hvidt over billedet, mørkt når headeren bliver hvid. */
.custom-logo { filter: brightness(0); opacity: 0.85; transition: filter 0.35s; }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .custom-logo { filter: brightness(0) invert(1); opacity: 1; }

@media (min-width: 861px) {
	.has-hero .site-header:not(.is-scrolled) .pz-book--header .latepoint-book-button,
	.has-hero .site-header:not(.is-scrolled) .pz-book--header .pz-btn {
		background: transparent !important;
		border-color: rgba(255, 255, 255, 0.8) !important;
	}
	.has-hero .site-header:not(.is-scrolled) .pz-book--header .latepoint-book-button:hover,
	.has-hero .site-header:not(.is-scrolled) .pz-book--header .pz-btn:hover {
		background: #fff !important;
		color: var(--ink) !important;
	}
}

/* ==========================================================
   Topbillede: fuld højde, langsom zoom og tekst der glider ind
   ========================================================== */

.has-hero .hero { min-height: 100vh; min-height: 100svh; }
.hero-content { padding-top: calc(var(--header-h) + 64px); }

.hero-img { animation: pz-zoom 2.8s var(--ease) both; }
.hero-content > * { animation: pz-rise 1.1s var(--ease) both; }
.hero-content > :nth-child(1) { animation-delay: 0.25s; }
.hero-content > :nth-child(2) { animation-delay: 0.45s; }
.hero-content > :nth-child(3) { animation-delay: 0.65s; }

@keyframes pz-zoom { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes pz-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.hero-cue {
	position: absolute;
	left: 50%;
	bottom: 32px;
	z-index: 1;
	width: 1px;
	height: 56px;
	background: rgba(255, 255, 255, 0.35);
	overflow: hidden;
	animation: pz-rise 1s var(--ease) 1s both;
}
.hero-cue::after {
	content: "";
	position: absolute;
	left: 0;
	top: -20px;
	width: 1px;
	height: 20px;
	background: #fff;
	animation: pz-drip 2.2s ease-in-out 1.6s infinite;
}
.hero-cue:focus-visible { outline-offset: 8px; }
@keyframes pz-drip { to { top: 56px; } }

/* ==========================================================
   Indhold der glider blidt frem, når man scroller
   ========================================================== */

.js .reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), background-color 0.4s;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .about-body.reveal,
.js .contact-grid > .reveal:nth-child(2) { transition-delay: 0.12s; }
.js .contact-grid > .reveal:nth-child(3) { transition-delay: 0.24s; }
.js .contact-grid > .reveal:nth-child(4) { transition-delay: 0.36s; }

/* ==========================================================
   Book-bjælke i bunden på mobil
   ========================================================== */

.mobile-book { display: none; }

@media (max-width: 860px) {
	.mobile-book {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, 0.96);
		box-shadow: 0 -1px 0 var(--line);
		transform: translateY(110%);
		transition: transform 0.35s var(--ease);
	}
	.mobile-book.is-visible { transform: none; }
	.mobile-book .pz-btn,
	.mobile-book .latepoint-book-button { display: block; text-align: center; }
	.site-footer { padding-bottom: 96px; }
}

/* ---------- Mindre bevægelse ---------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}
