/* ==========================================================
   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 {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	color: var(--ink);
	text-decoration: none;
	transition: color 0.35s;
}
.brand:hover { color: var(--ink); }
.brand-mark .mark-lotus { display: block; width: 36px; height: 36px; }
.brand-mark .mark-logo {
	display: block;
	width: auto;
	height: 36px;
	filter: brightness(0);
	opacity: 0.85;
	transition: filter 0.35s;
}
.brand-name {
	font-family: var(--font-display);
	font-size: 0.92rem;
	line-height: 1;
	letter-spacing: 0.14em;
	white-space: nowrap;
}

@media (max-width: 600px) {
	.pz-book--header .pz-btn,
	.pz-book--header .latepoint-book-button {
		padding: 10px 18px !important;
		font-size: 0.9rem !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-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--accent);
}
.service-placeholder .mark-lotus { width: 38%; height: auto; opacity: 0.55; }
.service-placeholder .mark-logo { width: 38%; height: auto; filter: brightness(0); opacity: 0.35; }

.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) .brand { color: #fff; }

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

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

.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; } }


/* ==========================================================
   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; }


/* ==========================================================
   Lotus der åbner sig og trækker vejret (4 s ind, 6 s ud)
   ========================================================== */

.breath {
	padding: var(--space) 0;
	text-align: center;
}
.breath-title {
	margin-bottom: clamp(28px, 4vw, 48px);
	font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

.lotus svg {
	display: block;
	width: min(300px, 72vw);
	height: auto;
	margin: 0 auto;
	overflow: visible;
}

.lotus path {
	stroke: var(--accent);
	stroke-width: 1.3;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}
.petal-outer path { fill: var(--tint-light); stroke-opacity: 0.55; }
.petal-inner path { fill: var(--tint); fill-opacity: 0.55; stroke-opacity: 0.7; }
.petal-center path { fill: var(--tint); stroke-opacity: 0.85; }

.lotus-water {
	fill: none;
	stroke: var(--tint) !important;
	stroke-linecap: round;
	transform-box: view-box;
	transform-origin: 100px 146px;
	transform: scaleX(0.3);
	opacity: 0;
	transition: transform 2.4s var(--ease) 0.4s, opacity 1.6s ease 0.4s;
}
.lotus-water--2 { transition-delay: 0.7s; }

/* Alle kronblade drejer om samme punkt ved foden */
.petal,
.breathe {
	transform-box: view-box;
	transform-origin: 100px 130px;
}

/* Lukket knop */
.petal { transition: transform 2.6s var(--ease); }
.petal-outer.petal-l { transform: rotate(-8deg) scaleY(0.75); }
.petal-outer.petal-r { transform: rotate(8deg) scaleY(0.75); }
.petal-inner.petal-l { transform: rotate(-4deg) scaleY(0.85); }
.petal-inner.petal-r { transform: rotate(4deg) scaleY(0.85); }
.petal-center { transform: scaleY(0.9); }

/* Åben */
.lotus.is-visible .petal-outer.petal-l { transform: rotate(-60deg); transition-delay: 0.5s; }
.lotus.is-visible .petal-outer.petal-r { transform: rotate(60deg); transition-delay: 0.5s; }
.lotus.is-visible .petal-inner.petal-l { transform: rotate(-30deg); transition-delay: 0.25s; }
.lotus.is-visible .petal-inner.petal-r { transform: rotate(30deg); transition-delay: 0.25s; }
.lotus.is-visible .petal-center { transform: none; }
.lotus.is-visible .lotus-water { transform: none; opacity: 1; }

/* Vejrtrækning – starter når blomsten er åben */
.lotus.is-visible .petal-outer.petal-l .breathe { animation: pz-breathe-l 10s ease-in-out 3.2s infinite; }
.lotus.is-visible .petal-outer.petal-r .breathe { animation: pz-breathe-r 10s ease-in-out 3.2s infinite; }
.lotus.is-visible .petal-inner.petal-l .breathe { animation: pz-breathe-l-sm 10s ease-in-out 3.2s infinite; }
.lotus.is-visible .petal-inner.petal-r .breathe { animation: pz-breathe-r-sm 10s ease-in-out 3.2s infinite; }
.lotus.is-visible svg { animation: pz-breathe-scale 10s ease-in-out 3.2s infinite; }

@keyframes pz-breathe-l    { 40% { transform: rotate(-7deg); } }
@keyframes pz-breathe-r    { 40% { transform: rotate(7deg); } }
@keyframes pz-breathe-l-sm { 40% { transform: rotate(-4deg); } }
@keyframes pz-breathe-r-sm { 40% { transform: rotate(4deg); } }
@keyframes pz-breathe-scale { 40% { transform: scale(1.05); } }

/* Ånd ind / Ånd ud */
.breath-label {
	position: relative;
	height: 1.6em;
	margin: 28px 0 0;
	font-family: var(--font-display);
	font-size: 1.2rem;
	letter-spacing: 0.08em;
	color: var(--accent);
}
.breath-label span {
	position: absolute;
	left: 0;
	right: 0;
	opacity: 0;
}
.lotus.is-visible .breath-in  { animation: pz-in 10s ease-in-out 3.2s infinite; }
.lotus.is-visible .breath-out { animation: pz-out 10s ease-in-out 3.2s infinite; }

@keyframes pz-in {
	0%, 38%, 100% { opacity: 0; }
	6%, 32% { opacity: 1; }
}
@keyframes pz-out {
	0%, 40%, 98%, 100% { opacity: 0; }
	48%, 88% { opacity: 1; }
}

/* Uden JavaScript eller med "reducer bevægelse": åben og stille */
html:not(.js) .petal-outer.petal-l { transform: rotate(-60deg); }
html:not(.js) .petal-outer.petal-r { transform: rotate(60deg); }
html:not(.js) .petal-inner.petal-l { transform: rotate(-30deg); }
html:not(.js) .petal-inner.petal-r { transform: rotate(30deg); }
html:not(.js) .petal-center,
html:not(.js) .lotus-water { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
	.petal-outer.petal-l { transform: rotate(-60deg) !important; }
	.petal-outer.petal-r { transform: rotate(60deg) !important; }
	.petal-inner.petal-l { transform: rotate(-30deg) !important; }
	.petal-inner.petal-r { transform: rotate(30deg) !important; }
	.petal-center, .lotus-water { transform: none !important; opacity: 1 !important; }
	.breath-label { display: none; }
}

/* ---------- 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; }
}
