/* Psykoterapi & Egenkærlighed – stylesheet */

@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonte/playfair-display-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonte/playfair-display-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonte/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonte/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonte/jost-latin-500-normal.woff2") format("woff2"); }

:root {
  --moerk: #414141;
  --moerk-tekst: #f4f1ec;
  --lys: #ffffff;
  --tekst: #414141;
  --terrakotta: #a35f50;
  --terrakotta-moerk: #8a4c3f;
  --pille: #ece4d5;
  --rosa: #ffe8e3;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", "Segoe UI", Arial, sans-serif;
  --bredde: 980px;
  --radius: 4px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--tekst);
  background: #e9e1d6;
}

/* Akvarelbaggrunden ligger fast bag indholdet (virker også på iPhone) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #e9e1d6 url("../img/baggrund.webp") center / cover no-repeat;
}
@media (max-width: 800px) {
  body::before { background-image: url("../img/baggrund-mobil.webp"); }
}

img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
.tekst-billede > *, .to-kolonner > * { min-width: 0; }

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

.skjult {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.spring-over { position: absolute; left: -9999px; top: 8px; background: var(--lys); padding: 8px 14px; z-index: 100; }
.spring-over:focus { left: 8px; }

/* ---------- Topmenu ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 14px 16px;
  pointer-events: none;
}
.menu {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--pille);
  border-radius: 999px;
  padding: 6px 8px 6px 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  max-width: 100%;
}
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.menu a {
  display: block;
  padding: 6px 12px;
  color: var(--moerk);
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
  border-radius: 999px;
}
.menu a:hover { background: rgba(255,255,255,.55); color: var(--moerk); }
.menu a[aria-current="page"] { font-weight: 500; }
.menu .ring {
  margin-left: 6px;
  background: var(--terrakotta);
  color: #fff;
  font-weight: 400;
  white-space: nowrap;
  padding: 6px 16px;
}
.menu .ring:hover { background: var(--terrakotta-moerk); color: #fff; }

/* ---------- Indhold ---------- */
main { padding: 0 16px 40px; }

.hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0 60px;
}
.hero .logo { width: min(560px, 88vw); }
.hero h1 {
  margin: 34px 0 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(16px, 2.2vw, 20px);
  letter-spacing: .02em;
  background: rgba(255,255,255,.78);
  color: var(--moerk);
  padding: 8px 22px;
  border-radius: 999px;
}
.hero .knapper { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.knap {
  display: inline-block;
  background: var(--terrakotta);
  color: #fff;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 400;
  font-size: 16px;
}
.knap:hover { background: var(--terrakotta-moerk); color: #fff; }
.knap.lys { background: rgba(255,255,255,.85); color: var(--moerk); }
.knap.lys:hover { background: #fff; color: var(--moerk); }

.panel {
  max-width: var(--bredde);
  margin: 0 auto 28px;
  padding: 48px clamp(20px, 6vw, 72px);
  border-radius: var(--radius);
}
.panel.moerk { background: var(--moerk); color: var(--moerk-tekst); }
.panel.lys { background: var(--lys); }
.panel.moerk a { color: #f0c7bb; }
.panel.moerk a.knap { color: #fff; }

h1, h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  line-height: 1.25;
}
.panel > h1, .panel > h2.sidetitel {
  text-align: center;
  font-size: clamp(28px, 4vw, 38px);
  margin: 0 0 32px;
}
.panel.moerk h1, .panel.moerk h2 { color: #fff; }
.panel.lys h2 { color: var(--terrakotta); }
h2 { font-size: clamp(24px, 3vw, 30px); margin: 40px 0 14px; }
h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  margin: 28px 0 6px;
  letter-spacing: .01em;
}
.panel.moerk h3 { color: #fff; }
p { margin: 0 0 14px; }
ul { padding-left: 1.2em; }
li { margin-bottom: 6px; }

blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--terrakotta);
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
}

.to-kolonner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.tekst-billede {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: start;
}
.tekst-billede img { border-radius: var(--radius); }

.emner { columns: 2; column-gap: 48px; }
.emner section { break-inside: avoid; margin-bottom: 8px; }
.emner h3 { margin-top: 18px; }
.emner p { margin: 0; }

.fremhaevet {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 8px 28px 18px;
  margin: 0 0 22px;
  scroll-margin-top: 90px;
}
.fremhaevet h2 { margin-top: 18px; }

.galleri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }
.galleri img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border-radius: var(--radius); }

.mpf { max-width: 300px; margin: 26px 0 0; background: #fff; padding: 10px; border-radius: var(--radius); }

.kontakt-liste { list-style: none; padding: 0; font-size: 19px; }
.kontakt-liste li { margin-bottom: 10px; }
.kontakt-liste strong { font-weight: 500; display: inline-block; min-width: 120px; }

.prisboks {
  display: flex; gap: 18px; flex-wrap: wrap; margin: 6px 0 22px;
}
.prisboks div {
  flex: 1 1 220px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.prisboks .pris { font-family: var(--serif); font-style: italic; font-size: 30px; color: #fff; display: block; }

/* ---------- Snebånd på forsiden ---------- */
.sne-baand {
  position: relative;
  max-width: var(--bredde);
  height: 460px;
  margin: 0 auto 28px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #6b6e72;
}
/* Laget er skærmhøjt og flyttes med 20 % af scrollfarten (js/sne.js), som på Wix */
.parallakse { position: absolute; left: 0; right: 0; top: 0; height: 100vh; height: 100lvh; will-change: transform; }
.parallakse picture { height: 100%; }
.parallakse img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; filter: brightness(.75) contrast(1.05) saturate(.85) blur(0.6px); transform: scale(1.5); transform-origin: 50% 50%; }
.sne-lag { position: absolute; inset: 0; pointer-events: none; }
@media (max-width: 760px) { .sne-baand { height: 280px; } }

/* ---------- Bund ---------- */
.bund {
  max-width: var(--bredde);
  margin: 0 auto;
  padding: 18px 16px 90px;
  text-align: center;
  font-size: 14px;
  color: var(--moerk);
}
.bund p { background: rgba(255,255,255,.8); display: inline-block; padding: 6px 18px; border-radius: 999px; margin: 0; }
.bund a { color: var(--moerk); }

/* Ringeknap i bunden af skærmen på mobil */
.ring-mobil { display: none; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .top { padding: 10px 8px; }
  .menu { padding: 4px; overflow-x: auto; scrollbar-width: none; }
  .menu::-webkit-scrollbar { display: none; }
  .menu ul { flex-wrap: nowrap; }
  .menu a { padding: 5px 8px; font-size: 14px; white-space: nowrap; }
  .kontakt-liste strong { display: block; min-width: 0; }
  .menu .ring { display: none; }
  .ring-mobil {
    display: block;
    position: fixed;
    left: 16px; right: 16px; bottom: 14px;
    z-index: 60;
    text-align: center;
    background: var(--terrakotta);
    color: #fff;
    text-decoration: none;
    padding: 13px;
    border-radius: 999px;
    font-weight: 400;
    font-size: 17px;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
  }
  .ring-mobil:hover { color: #fff; }
  .hero { min-height: 60vh; padding-top: 20px; }
  .to-kolonner, .tekst-billede { grid-template-columns: 1fr; }
  .tekst-billede img { max-width: min(420px, 100%); }
  .emner { columns: 1; }
  .galleri { grid-template-columns: 1fr 1fr; }
  .fremhaevet { padding: 4px 18px 14px; }
  .panel { padding-top: 36px; padding-bottom: 36px; }
}

@media print {
  body::before, .top, .ring-mobil { display: none; }
  .panel { background: none !important; color: #000 !important; padding: 0; }
  .panel h1, .panel h2, .panel h3 { color: #000 !important; }
}
.rund{border-radius:var(--radius)}
