/* Estetica la Perla – main.css */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
	--bg: #FBF9F6;
	--tint: #F5F1EB;
	--line: #ECE6DD;
	--ink: #23211F;
	--body: #4A453F;
	--muted: #5E5850;
	--accent: #7A5F3C;
	--pearl: #B89B72;
	--pearl-light: #C9B79C;
	--ph: #EDE6DB;
	--serif: "Cormorant Garamond", Georgia, serif;
	--sans: "Jost", system-ui, -apple-system, sans-serif;
	--radius: 16px;
	--max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

.eyebrow { margin: 0 0 16px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 400; }
.eyebrow--light { color: var(--pearl-light); }
.display { font-family: var(--serif); font-size: clamp(46px, 6vw, 84px); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 28px; }
.h1 { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); line-height: 1.08; margin-bottom: 20px; }
.h2 { font-family: var(--serif); font-size: clamp(34px, 4vw, 54px); line-height: 1.1; margin-bottom: 20px; }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.muted { color: var(--muted); }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 30px; border-radius: 999px; font-size: 16px; font-weight: 400; text-decoration: none; letter-spacing: .02em; transition: background .2s, color .2s; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--accent); color: #fff; }
.btn--line { border: 1px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { background: var(--pearl-light); color: var(--ink); }
.link-arrow { font-size: 15px; letter-spacing: .04em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 249, 246, .94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__text { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: .02em; color: var(--ink); margin: 0; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; font-size: 15px; letter-spacing: .04em; }
.nav .menu a { text-decoration: none; }
.nav .current-menu-item > a { color: var(--accent); }
.nav__mobile { display: none; }
.nav__mobile summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
.nav__mobile summary::-webkit-details-marker { display: none; }
.nav__mobile summary span { display: block; width: 22px; height: 1.5px; background: var(--ink); }
.nav__panel { position: absolute; left: 0; right: 0; top: 76px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px 24px 24px; }
.nav__panel .menu { flex-direction: column; gap: 0; font-size: 18px; }
.nav__panel .menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }

@media (max-width: 860px) {
	.nav__desktop { display: none; }
	.nav__mobile { display: block; order: 2; }
	.nav { gap: 8px; }
	.logo__text { font-size: 22px; }
	.site-header .btn--sm { display: none; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: 88px; padding-bottom: 96px; }
.hero__text { flex: 1 1 460px; min-width: 0; }
.hero__media { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.hero__img { width: 100%; max-width: 460px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 240px 240px var(--radius) var(--radius); }
.placeholder { background: var(--ph); display: flex; align-items: flex-end; justify-content: center; padding: 32px; }
.placeholder span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #6B655E; text-align: center; }

/* Strip */
.strip { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip__list { list-style: none; margin: 0 auto; padding-top: 28px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; text-align: center; font-size: 15px; letter-spacing: .04em; color: var(--body); }

/* Sections */
.section { padding-top: 120px; padding-bottom: 120px; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: var(--bg); padding-top: 104px; padding-bottom: 104px; }
.section--dark p { color: #D8D2C8; max-width: 520px; }
.section__head { max-width: 640px; margin-bottom: 56px; }
.section__head--split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.note { margin: 40px 0 0; font-size: 16px; }

.steps { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 24px; }
.steps__num { font-family: var(--serif); font-size: 22px; color: var(--accent); }
.steps h3 { font-size: 20px; margin: 8px 0 10px; }
.steps p { color: var(--muted); margin: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { background: var(--bg); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; border: 1px solid transparent; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--pearl-light); transform: translateY(-2px); color: var(--ink); }
.card__title { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.card__text { color: var(--muted); font-size: 16px; flex: 1; margin: 0; }
.card__price { font-size: 15px; color: var(--accent); }

.about { display: flex; flex-wrap: wrap; align-items: center; gap: 72px; }
.about__media { flex: 1 1 360px; min-width: 0; }
.about__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about__text { flex: 1 1 460px; min-width: 0; color: var(--body); }
.quote { margin: 32px 0 0; font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.35; color: var(--ink); }
.quote__by { margin-top: 16px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #6B655E; }

.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.band > div { flex: 1 1 520px; min-width: 0; }

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; border-top: 1px solid var(--line); }
address { font-style: normal; color: var(--body); margin-bottom: 24px; }

.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 32px; row-gap: 6px; color: var(--body); }
.hours dd { margin: 0; }

/* Content pages (Behandlungen, Über mich, Impressum, Datenschutz …) */
.page__header { padding-top: 88px; padding-bottom: 32px; }
.page__image { margin: 0 auto 48px; }
.page__image img { border-radius: var(--radius); width: 100%; }
.prose { color: var(--body); padding-bottom: 64px; }
.prose h2 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 42px); color: var(--ink); margin: 64px 0 16px; line-height: 1.15; scroll-margin-top: 100px; }
.prose h3 { font-size: 20px; font-weight: 400; color: var(--ink); margin: 32px 0 8px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 32px; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 400; color: var(--ink); }
.prose td:last-child, .prose th:last-child { text-align: right; white-space: nowrap; }
.prose .wp-block-table thead { border-bottom: 1px solid var(--ink); }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: 32px 0; font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--ink); }
.page__cta { padding-bottom: 120px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding-top: 40px; }
.page__cta p { margin: 0; font-family: var(--serif); font-size: 28px; }
.post-teaser { padding: 24px 0; border-bottom: 1px solid var(--line); }
.meta { font-size: 14px; color: #6B655E; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--tint); padding-top: 64px; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; padding-bottom: 48px; }
.site-footer .logo__text { font-size: 24px; margin-bottom: 12px; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); color: #6B655E; font-size: 14px; }
.legal-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; }

/* Mobile: sticky booking button */
.sticky-book { display: none; }
@media (max-width: 860px) {
	.sticky-book { display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; min-height: 52px; align-items: center; justify-content: center; background: var(--ink); color: var(--bg); border-radius: 999px; text-decoration: none; font-weight: 400; box-shadow: 0 8px 24px rgba(35, 33, 31, .18); }
	.site-footer { padding-bottom: 84px; }
	.hero { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
	.section { padding-top: 80px; padding-bottom: 80px; }
}

@media print { .site-header, .sticky-book, .site-footer__legal { display: none; } }

/* ---------- Preislisten (Behandlungen) ---------- */
.prose { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.prose .pricelist { margin: 8px 0 40px; }
.prose .pricelist table { margin: 0; }
.prose .pricelist td { padding: 16px 8px; line-height: 1.5; }
.prose .pricelist td:first-child { padding-left: 0; width: 100%; color: var(--muted); font-size: 16px; }
.prose .pricelist td:first-child strong { color: var(--ink); font-weight: 400; font-size: 17px; }
.prose .pricelist td:nth-child(2) { white-space: nowrap; color: var(--muted); font-size: 15px; }
.prose .pricelist td:last-child { white-space: nowrap; padding-right: 0; color: var(--ink); }
.prose .pricelist th:first-child { padding-left: 0; }
.prose .pricelist th { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #6B655E; }

/* Sprungmarken oben auf der Behandlungsseite */
.prose .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.prose .chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); text-decoration: none; font-size: 15px; color: var(--ink); white-space: nowrap; }
.prose .chips a:hover { border-color: var(--pearl); color: var(--accent); }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
	.nav, .nav .menu { gap: 20px; }
	.logo__text { font-size: 23px; }
	.hero { gap: 48px; }
	.about { gap: 48px; }
}

/* ---------- Mobil ---------- */
@media (max-width: 640px) {
	body { font-size: 16px; }
	.container { padding: 0 20px; }
	.lead { font-size: 17px; }
	.btn { width: 100%; }
	.btn-row { flex-direction: column; align-items: stretch; }
	.card { padding: 24px; }
	.card__title { font-size: 26px; }
	.quote { font-size: 24px; }
	.page__header { padding-top: 48px; }
	.page__cta { padding-bottom: 80px; }
	.page__cta .btn { width: 100%; }

	/* Preisliste als gestapelte Zeilen: Name/Beschreibung oben, Dauer links, Preis rechts */
	.prose .pricelist table, .prose .pricelist tbody { display: block; width: 100%; }
	.prose .pricelist thead { display: none; }
	.prose .pricelist tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
	.prose .pricelist td { display: block; padding: 0; border: 0; text-align: left; width: auto; }
	.prose .pricelist td:first-child { grid-column: 1 / -1; }
	.prose .pricelist td:last-child { text-align: right; }
	.prose .chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -20px; padding-bottom: 6px; scrollbar-width: none; }
	.prose .chips::-webkit-scrollbar { display: none; }
}
