:root {
  --navy: #19274a;
  --navy-2: #243463;
  --navy-3: #3b5aab;
  --navy-soft: #4a5a7e;
  --cream: #faf7f1;
  --cream-2: #f3ede1;
  --paper: #ffffff;
  --ink: #19274a;
  --ink-soft: #4f5a72;
  --ink-mute: #8a93a6;
  --line: #e6e1d4;
  --line-2: #d9d2c1;
  --gold: #c9a86b;
  --gold-deep: #ab8a4d;
  --rose: #c98a8a;
  --shadow-sm: 0 1px 2px rgba(25, 39, 74, 0.06);
  --shadow: 0 8px 24px -8px rgba(25, 39, 74, 0.12), 0 2px 6px rgba(25, 39, 74, 0.06);
  --shadow-lg: 0 24px 60px -20px rgba(25, 39, 74, 0.25);
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --serif: "Newsreader", "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1240px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html { overflow-x: clip; }
body { overflow-x: clip; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
  color: var(--navy);
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 600; font-family: var(--sans); letter-spacing: 0; }

p { margin: 0 0 1em; text-wrap: pretty; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

button { font: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
a:focus-visible { border-radius: 3px; }

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

.container-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--navy-3);
}
.eyebrow.no-line::before { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  padding: 10px 0;
}
.btn-ghost:hover { color: var(--navy-3); }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-deep); color: #fff; }

.btn .arrow { transition: transform 0.22s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Sections */
section { padding: 96px 0; position: relative; }
section.tight { padding: 64px 0; }
section.dark {
  background: var(--navy);
  color: #d6dbe8;
}
section.dark h1, section.dark h2, section.dark h3, section.dark h4 { color: #fff; }
section.dark p { color: #b8c0d3; }
section.dark .eyebrow { color: var(--gold); }
section.dark .eyebrow::before { background: var(--gold); }
section.paper { background: var(--paper); }
section.cream2 { background: var(--cream-2); }

/* Emergency banner */
.emergency-banner {
  background: var(--navy);
  color: #fff;
  font-size: 0.86rem;
  padding: 10px 0;
  position: relative;
  z-index: 60;
}
.emergency-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.emergency-banner .ebl {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.emergency-banner .ebl .pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: #6fce8f;
  box-shadow: 0 0 0 0 rgba(111, 206, 143, 0.6);
  animation: pulse 1.8s infinite;
  flex-shrink: 0;
}
.emergency-banner a {
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid transparent;
}
.emergency-banner a:hover { border-color: var(--gold); }
.emergency-banner .ebr { display: flex; gap: 18px; color: #b8c0d3; font-size: 0.82rem; flex-wrap: wrap; }
.emergency-banner .ebr span { display: inline-flex; align-items: center; gap: 6px; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 206, 143, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(111, 206, 143, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 206, 143, 0); }
}
/* When phone is closed: solid red, no animation (stillestående) */
.emergency-banner.status-weekday-closed .ebl .pulse,
.emergency-banner.status-weekend .ebl .pulse {
  background: #d96868;
  box-shadow: none;
  animation: none;
}

/* Nav */
.nav {
  background: var(--cream);
  border-bottom: 1px solid transparent;
  position: sticky; top: 0; z-index: 50;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
  transition: height 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav.scrolled .nav-logo img { height: 32px; }
.footer-brand .nav-logo img { height: 44px; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: all 0.18s;
  position: relative;
}
.nav-links a:hover { color: var(--navy); background: rgba(25,39,74,0.04); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--gold);
}
.nav-cta {
  display: flex; align-items: center; gap: 12px;
}
.nav-phone {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}
.nav-phone svg { color: var(--navy-3); }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px;
  min-width: 240px;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(6px);
  transition: all 0.2s;
  z-index: 100;
}
.dropdown.open .dropdown-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 6px; font-size: 0.92rem; }

.mobile-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.18s;
  flex-shrink: 0;
  padding: 0;
}
.mobile-toggle:hover { background: var(--cream-2); }

/* Hero */
.hero-classic {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding: 80px 0 80px;
}
.hero-classic .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-content h1 {
  margin-top: 24px;
  margin-bottom: 28px;
}
.hero-content h1 em { font-style: italic; color: var(--navy-3); font-weight: 400; }
.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}
.hero-media .badge {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 18px 22px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}
.hero-media .badge .star { color: var(--gold); font-size: 1.1rem; }
.hero-media .badge .text { font-size: 0.88rem; }
.hero-media .badge .text strong { display: block; color: var(--navy); font-weight: 600; }

.hero-stats {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.hero-stat .num { font-family: var(--serif); font-size: 2.4rem; color: var(--navy); line-height: 1; }
.hero-stat .lbl { font-size: 0.85rem; color: var(--ink-mute); margin-top: 6px; }

/* Hero Split (variant 2) */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.hero-split-left {
  background: var(--navy);
  color: #fff;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-split-left h1 { color: #fff; }
.hero-split-left h1 em { color: var(--gold); font-style: italic; font-weight: 400; }
.hero-split-left p { color: #b8c0d3; font-size: 1.1rem; max-width: 480px; }
.hero-split-right {
  background: var(--cream-2);
  position: relative;
  overflow: hidden;
}
.hero-split-right .floating-card {
  position: absolute;
  background: #fff;
  border-radius: var(--r);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
}
.hero-split-right .fc1 { top: 60px; left: 40px; }
.hero-split-right .fc2 { bottom: 80px; right: 40px; }
.hero-split-right .fc3 { top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 0; overflow: hidden; }

/* Hero Editorial (variant 3) */
.hero-editorial {
  padding: 60px 0 0;
  background: var(--cream);
}
.hero-edi-header {
  text-align: center;
  margin-bottom: 60px;
}
.hero-edi-header h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.hero-edi-header h1 em { font-style: italic; color: var(--navy-3); font-weight: 400; }
.hero-edi-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--navy);
  margin-bottom: 0;
}
.hero-edi-meta .left { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.hero-edi-feature {
  aspect-ratio: 21/9;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero-edi-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.hero-edi-grid > div { padding: 40px; border-right: 1px solid var(--line); }
.hero-edi-grid > div:last-child { border-right: 0; }
.hero-edi-grid h4 { color: var(--navy); margin-bottom: 10px; }
.hero-edi-grid p { font-size: 0.92rem; }

/* Info cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  transition: all 0.22s;
}
.info-card:hover { border-color: var(--navy-3); transform: translateY(-2px); box-shadow: var(--shadow); }
.info-card .icon {
  width: 44px; height: 44px;
  background: var(--cream-2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  margin-bottom: 18px;
}
.info-card h4 { margin-bottom: 8px; color: var(--navy); }
.info-card .lines { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.7; }
.info-card .lines strong { color: var(--navy); font-weight: 600; }
.info-card .link { margin-top: 12px; font-size: 0.86rem; font-weight: 600; color: var(--navy-3); display: inline-flex; align-items: center; gap: 6px; }

/* Treatments grid */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.treatment-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.3s;
  cursor: pointer;
}
.treatment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.treatment-card .img {
  aspect-ratio: 4/3;
  background: var(--cream-2);
  position: relative;
  overflow: hidden;
}
.treatment-card .body { padding: 26px 28px 30px; }
.treatment-card .meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.treatment-card .meta .num { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); }
.treatment-card .meta .time { font-size: 0.78rem; color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase; }
.treatment-card h3 { margin-bottom: 12px; }
.treatment-card p { font-size: 0.92rem; }
.treatment-card .arrow-link {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--navy); font-weight: 600; font-size: 0.9rem;
}
.treatment-card:hover .arrow-link svg { transform: translateX(4px); }
.treatment-card .arrow-link svg { transition: transform 0.22s; }

/* 07-kort: "Og meget mere" — mørk variant, centreret på sin række. */
.treatments-grid .treatment-card-more {
  background: var(--navy);
  border-color: transparent;
}
.treatments-grid .treatment-card-more h3,
.treatments-grid .treatment-card-more .arrow-link { color: #fff; }
.treatments-grid .treatment-card-more p { color: rgba(255,255,255,0.75); }
.treatments-grid .treatment-card-more .meta .num { color: var(--gold); }
.treatments-grid .treatment-card-more .meta .time { color: rgba(255,255,255,0.55); }
.treatments-grid .treatment-card-more .img {
  background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 100%);
}
.treatments-grid .treatment-card-more:hover { box-shadow: 0 24px 60px -20px rgba(25,39,74,0.5); }
.treatments-grid > .treatment-card-more:nth-child(7) { grid-column: 2 / 3; }
@media (max-width: 1100px) {
  .treatments-grid > .treatment-card-more:nth-child(7) { grid-column: 1 / -1; max-width: 560px; margin: 0 auto; width: 100%; }
}

/* Trust strip */
.trust-strip {
  background: var(--paper);
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}
.trust-item { text-align: center; }
.trust-item .icon { color: var(--navy-3); margin-bottom: 12px; display: flex; justify-content: center; }
.trust-item .num { font-family: var(--serif); font-size: 2rem; color: var(--navy); line-height: 1; }
.trust-item .lbl { font-size: 0.85rem; color: var(--ink-soft); margin-top: 6px; }

/* Forside: citater + FAQ ligger klods op ad hinanden, så den dobbelte
   sektions-padding (96+96) giver et for stort tomrum. Stram det kun her. */
.home-testi-faq > section:first-child { padding-bottom: 40px; }
.home-testi-faq > section:last-child { padding-top: 48px; }

/* Testimonials */
.testimonial-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  border: 1px solid var(--line);
  position: relative;
}
.testimonial-card .quote-mark {
  position: absolute; top: 24px; right: 30px;
  font-family: var(--serif); font-size: 4rem; color: var(--gold); line-height: 1;
}
.testimonial-card .stars { color: var(--gold); margin-bottom: 18px; font-size: 0.95rem; }
.testimonial-card blockquote {
  font-family: var(--serif); font-size: 1.4rem; line-height: 1.45;
  color: var(--navy); margin: 0 0 24px; font-weight: 400;
  letter-spacing: -0.005em;
}
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .author .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream-2); display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); color: var(--navy); font-size: 1.1rem;
}
.testimonial-card .author .name { font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.testimonial-card .author .place { font-size: 0.82rem; color: var(--ink-mute); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
/* Udgivet side: vandret carousel. 3 kort fylder bredden præcis (ingen scroll);
   flere kort giver vandret scroll/swipe + auto-skift. */
.testimonials-carousel {
  display: flex;
  gap: 24px;
  margin-top: 56px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.testimonials-carousel::-webkit-scrollbar { display: none; }
.testimonials-carousel .testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  scroll-snap-align: start;
}

/* Before/After */
.ba-slider {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  background: var(--navy);
  box-shadow: var(--shadow);
  touch-action: none; /* undgå at side-scroll konkurrerer med træk på mobil */
}
/* Billeder må ikke fange pointeren: så starter browserens “ghost”-billed-drag
   ikke, og klik/træk rammer altid selve slideren. Gælder både PC og mobil. */
.ba-slider img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.ba-slider .layer {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 2rem; color: rgba(255,255,255,0.4);
}
.ba-slider .before { background: linear-gradient(135deg, #6b5d4a 0%, #4a3f30 100%); }
.ba-slider .after { background: linear-gradient(135deg, #e8dcc5 0%, #c9b48f 100%); }
.ba-slider .after-wrap {
  position: absolute; inset: 0;
  clip-path: inset(0 0 0 50%);
  /* ingen transition — klipningen skal følge markøren 1:1, ellers “lagger” den */
}
.ba-slider .after-wrap .layer { color: rgba(25,39,74,0.4); }
.ba-slider .handle {
  position: absolute; top: 0; bottom: 0;
  width: 3px;
  background: #fff;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-slider .handle::after {
  content: "⇄";
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 600;
  box-shadow: var(--shadow);
}
.ba-slider .label {
  position: absolute; top: 16px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(0,0,0,0.5); color: #fff;
}
.ba-slider .label.left { left: 16px; }
.ba-slider .label.right { right: 16px; background: rgba(255,255,255,0.9); color: var(--navy); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 56px auto 0; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--navy-3); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--sans);
  gap: 20px;
}
.faq-q .plus {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); flex-shrink: 0;
  transition: transform 0.25s, background 0.2s;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease;
  padding: 0 26px;
}
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a-pad { padding-bottom: 24px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p { color: var(--ink-soft); font-size: 0.96rem; }

/* Pricing */
.price-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.price-cat-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.2s;
}
.price-cat-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.price-cat-btn:hover:not(.active) { border-color: var(--navy); color: var(--navy); }
.price-table { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 24px;
}
.price-row:last-child { border-bottom: 0; }
.price-row .name { font-weight: 500; color: var(--navy); font-size: 1rem; }
.price-row .desc { color: var(--ink-mute); font-size: 0.86rem; margin-top: 4px; }
/* Alle priser (præcis pris, interval og "Ring for pris") deler præcis samme
   typografi, så de altid ser ens ud — også når beløbet redigeres fremover. */
.price-row .amount { white-space: nowrap; text-align: right; }
.price-row .amount .price-value { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); font-weight: 400; }
.price-row .amount .price-value--text { font-size: 1.15rem; }
.price-row .amount .kr { font-family: var(--sans); font-size: 0.82rem; color: var(--ink-mute); margin-left: 4px; }
.price-row .name { display: inline; }
.price-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--navy-3);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  vertical-align: 2px;
  white-space: nowrap;
}
.price-row .price-note {
  margin-top: 6px;
  padding: 8px 10px;
  background: var(--cream);
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
  border-left: 2px solid var(--gold);
}
.price-section-lead {
  padding: 22px 28px;
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.price-section-lead strong { color: var(--navy); }
.price-disclaimer {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--cream-2);
  border-radius: var(--r);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
  border-left: 3px solid var(--gold-deep);
  max-width: none;
}
.price-disclaimer strong { color: var(--navy); }

.calc-opt .meta .calc-group {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-3);
  margin-right: 4px;
}

/* Calculator */
.calc {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 40px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  margin-top: 40px;
}
.calc-options { display: flex; flex-direction: column; gap: 16px; }
.calc-opt {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  transition: all 0.18s;
  user-select: none;
}
.calc-opt:hover { border-color: var(--navy); }
.calc-opt.selected { border-color: var(--navy-3); background: var(--cream); }
.calc-opt .left { display: flex; align-items: center; gap: 14px; }
.calc-opt .check {
  width: 22px; height: 22px; border-radius: 6px;
  border: 2px solid var(--line); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
}
.calc-opt.selected .check { background: var(--navy); border-color: var(--navy); color: #fff; }
.calc-opt .name { font-weight: 500; color: var(--navy); }
.calc-opt .meta { font-size: 0.82rem; color: var(--ink-mute); margin-top: 2px; }
.calc-opt .price { font-family: var(--serif); color: var(--navy); }
.calc-summary {
  background: var(--navy);
  color: #fff;
  border-radius: var(--r);
  padding: 28px;
  position: sticky;
  top: 120px;
  align-self: start;
  height: fit-content;
}
.calc-summary .eyebrow { color: var(--gold); }
.calc-summary .eyebrow::before { background: var(--gold); }
.calc-summary .total {
  font-family: var(--serif);
  font-size: 3rem;
  color: #fff;
  margin: 12px 0 4px;
  line-height: 1;
}
.calc-summary .breakdown {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.88rem;
  color: #b8c0d3;
}
.calc-summary .breakdown .row {
  display: flex; justify-content: space-between;
  padding: 6px 0;
}
.calc-summary .note { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 16px; line-height: 1.5; }

/* Staff */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.staff-card { text-align: left; }
.staff-card .photo {
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  background: var(--navy);
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.staff-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.staff-card .role {
  font-size: 0.84rem;
  color: var(--navy-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.staff-card p { font-size: 0.94rem; }
.staff-card .since { font-size: 0.78rem; color: var(--ink-mute); margin-top: 12px; font-style: italic; }

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: #b8c0d3;
  padding: 80px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { color: #b8c0d3; max-width: 320px; font-size: 0.94rem; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 4px 0; }
.footer-col a { color: #b8c0d3; font-size: 0.94rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-col .line { display: block; padding: 4px 0; color: #b8c0d3; font-size: 0.94rem; }
.footer-col .line strong { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0;
  font-size: 0.82rem;
  color: #6a7591;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: #b8c0d3; }
.footer-bottom a:hover { color: #fff; }

/* Map */
.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
  position: relative;
  background: #e8e4d8;
}
.map-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.map-actions a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.86rem; padding: 10px 18px;
  border-radius: 999px; border: 1px solid var(--line);
  color: var(--navy); font-weight: 500;
  transition: background .15s, color .15s, border-color .15s;
}
.map-actions a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Image placeholder */
.imgph {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, rgba(25,39,74,0.92) 0%, rgba(36,52,99,0.92) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 24px;
}
.imgph .ph-icon { opacity: 0.4; margin-bottom: 14px; }
.imgph .ph-label { line-height: 1.4; }
.imgph .ph-note {
  margin-top: 14px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--gold);
  background: rgba(0,0,0,0.22);
  padding: 5px 14px;
  border-radius: 999px;
}
.imgph.light .ph-note {
  color: var(--gold-deep);
  background: rgba(25,39,74,0.08);
}
.imgph.light {
  background:
    repeating-linear-gradient(135deg, rgba(25,39,74,0.04) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, var(--cream-2) 0%, #e8dfc8 100%);
  color: rgba(25,39,74,0.5);
}

/* Page header */
.page-header {
  padding: 80px 0 60px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-header .eyebrow { margin-bottom: 18px; }
.page-header h1 { max-width: 880px; margin-bottom: 20px; }
.page-header p { font-size: 1.15rem; max-width: 680px; }
.breadcrumbs {
  display: flex; gap: 10px; font-size: 0.82rem; color: var(--ink-mute);
  margin-bottom: 32px;
}
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs .sep { color: var(--ink-mute); }

/* Two-col content */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.two-col .imgph-wrap {
  position: relative; aspect-ratio: 4/5;
  border-radius: var(--r-xl); overflow: hidden;
}
.two-col h2 { margin-bottom: 24px; }
.two-col p { font-size: 1.02rem; }
.two-col .check-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.two-col .check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); font-size: 0.98rem; }
.two-col .check-list .ck {
  flex-shrink: 0; width: 24px; height: 24px;
  border-radius: 50%; background: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); margin-top: 1px;
}

/* Form */
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-wrap label {
  display: block; font-size: 0.82rem; font-weight: 600;
  margin-bottom: 8px; color: var(--navy);
  letter-spacing: 0.04em;
}
.input-wrap input,
.input-wrap textarea,
.input-wrap select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  font: inherit;
  font-size: 0.96rem;
  color: var(--navy);
  transition: all 0.18s;
}
.input-wrap textarea { min-height: 140px; resize: vertical; }
.input-wrap input:focus,
.input-wrap textarea:focus,
.input-wrap select:focus {
  outline: 0;
  border-color: var(--navy-3);
  box-shadow: 0 0 0 4px rgba(59,90,171,0.1);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.blog-card { cursor: pointer; }
.blog-card .img {
  aspect-ratio: 16/10; border-radius: var(--r); overflow: hidden;
  position: relative; background: var(--navy);
  margin-bottom: 20px;
}
.blog-card .date { font-size: 0.78rem; color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.blog-card h3 { font-size: 1.3rem; margin-bottom: 10px; line-height: 1.25; }
.blog-card p { font-size: 0.94rem; }
.blog-card:hover h3 { color: var(--navy-3); }

/* Gallery treatments cycle */
.ba-pair {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--line);
}
.ba-pair .meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 22px;
}
.ba-pair .meta h4 { color: var(--navy); }
.ba-pair .meta .sub { font-size: 0.85rem; color: var(--ink-mute); margin-top: 4px; }

.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

/* Motion — reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-stagger.in > * {
  opacity: 1;
  transform: none;
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 90ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 180ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 270ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 360ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 450ms; }

/* Word reveal */
.word-reveal .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.word-reveal.in .w {
  opacity: 1;
  transform: none;
}

/* Nav shrink on scroll — translucent glass effect */
.nav-inner { transition: height 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.nav.scrolled {
  background: rgba(250, 247, 241, 0.62);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 rgba(25, 39, 74, 0.06), 0 8px 24px -16px rgba(25, 39, 74, 0.18);
  border-bottom-color: rgba(230, 225, 212, 0.5);
}
@supports not (backdrop-filter: blur(1px)) {
  .nav.scrolled { background: rgba(250, 247, 241, 0.95); }
}
.nav.scrolled .nav-inner { height: 64px; }
.nav-logo .mark { transition: width 0.3s, height 0.3s; }

/* Marquee */
.marquee {
  background: var(--navy);
  color: #fff;
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: rgba(255,255,255,0.9);
  font-weight: 300;
  font-style: italic;
  white-space: nowrap;
}
.marquee-item .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Parallax */
.parallax-wrap { overflow: hidden; }
.parallax-img {
  will-change: transform;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.08);
}

/* Sticky steps (treatment detail) */
.sticky-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
}
.sticky-steps .left {
  position: sticky;
  top: 120px;
  align-self: start;
  height: fit-content;
}
.sticky-steps .right { display: flex; flex-direction: column; gap: 72px; padding: 12px 0; }
.sticky-steps .step-detail {
  padding: 36px 0;
  min-height: 320px;
}
.sticky-steps .num-big {
  font-family: var(--serif);
  font-size: clamp(8rem, 16vw, 14rem);
  line-height: 0.9;
  color: var(--gold);
  margin: 0 0 24px;
  transition: opacity 0.4s, color 0.4s;
  letter-spacing: -0.04em;
}
.sticky-steps .step-title { font-family: var(--serif); font-size: 2rem; color: var(--navy); margin: 0 0 20px; font-weight: 400; transition: opacity 0.4s; }
.sticky-steps .step-pills {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px;
}
.sticky-steps .pill {
  padding: 6px 12px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  border: 1px solid var(--line);
  color: var(--ink-mute);
  transition: all 0.3s;
}
.sticky-steps .pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }

@media (max-width: 1024px) {
  .sticky-steps { grid-template-columns: 1fr; gap: 24px; }
  .sticky-steps .left { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *, .word-reveal .w {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .marquee-track { animation: none; }
  .parallax-img { transform: none !important; }
  .emergency-banner .ebl .pulse { animation: none; }
  .cookie-overlay { animation: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
.motion-off .reveal,
.motion-off .reveal-stagger > *,
.motion-off .word-reveal .w {
  opacity: 1 !important; transform: none !important; transition: none !important;
}
.motion-off .marquee-track { animation: none; }
.motion-off .parallax-img { transform: none !important; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.divider-orn {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold); margin: 24px 0;
}
.divider-orn::before, .divider-orn::after {
  content: ""; height: 1px; width: 40px; background: var(--line-2);
}

/* Decorative bomærke (tooth icon) watermarks */
.bom-watermark {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
  user-select: none;
}
.bom-watermark.gold { opacity: 0.14; }
.page-header .bom-watermark {
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  width: 180px;
  opacity: 0.07;
}
.hero-editorial .bom-watermark {
  position: absolute;
  top: 240px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  opacity: 0.05;
  z-index: 1;
}
.hero-editorial .hero-edi-header { position: relative; z-index: 2; }
.dark .bom-watermark.white {
  opacity: 0.04;
}
.cta-bom {
  position: absolute;
  bottom: -80px; right: -60px;
  width: 380px;
  opacity: 0.05;
  pointer-events: none;
}
section.dark { position: relative; overflow: hidden; }

/* Page header gets relative for watermark */
.page-header { position: relative; overflow: hidden; }

/* ===== MOBILE DRAWER ===== */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 180;
  background: rgba(25, 39, 74, 0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 190;
  width: min(340px, 92vw);
  background: var(--navy);
  display: flex; flex-direction: column;
  transform: translate3d(105%, 0, 0);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  will-change: transform;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer.open { transform: translate3d(0, 0, 0); }

.mobile-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.mobile-drawer-close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  cursor: pointer; border: 0;
  transition: background 0.18s;
  flex-shrink: 0;
}
.mobile-drawer-close:hover { background: rgba(255,255,255,0.14); }

.mobile-drawer-nav {
  flex: 1;
  padding: 12px 16px;
  display: flex; flex-direction: column; gap: 2px;
}
.mobile-drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 14px;
  font-size: 1.05rem; font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--r);
  cursor: pointer; border: 0; background: none;
  width: 100%; text-align: left;
  font-family: var(--sans);
  transition: background 0.15s, color 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-drawer-link:hover,
.mobile-drawer-link:active { background: rgba(255,255,255,0.07); color: #fff; }
.mobile-drawer-link.active { color: var(--gold); }

.mobile-drawer-sub {
  display: flex; flex-direction: column; gap: 1px;
  padding: 4px 0 8px 14px;
  border-left: 2px solid rgba(255,255,255,0.12);
  margin: 0 0 4px 14px;
}
.mobile-drawer-sub-link {
  display: block; padding: 10px 12px;
  font-size: 0.94rem; color: rgba(255,255,255,0.6);
  border-radius: 6px;
  cursor: pointer; border: 0; background: none;
  width: 100%; text-align: left;
  font-family: var(--sans);
  transition: background 0.15s, color 0.15s;
}
.mobile-drawer-sub-link:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); }

.mobile-drawer-foot {
  /* Ekstra bundluft + iPhone-safe-area, så mail-knappen aldrig skæres af */
  padding: 20px 16px calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 10px;
  flex-shrink: 0;
}

/* Mens mobilmenuen er åben: skjul "Ring"-bjælken og chat-knappen, så de ikke
   ligger ovenpå menuens nederste knapper (de har højere z-index end menuen). */
body.sydthy-menu-open .mobile-call-bar,
body.sydthy-menu-open .cb-fab { display: none !important; }

/* ===== RESPONSIVE LAYOUT HELPERS ===== */
/* CTA strip */
.cta-strip-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Contact grids */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.vagt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* New law notice */
.law-notice-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  background: #fff;
  padding: 28px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}

/* ── Nyheder og meddelelser ─────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 32px 26px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.news-card:focus-visible {
  outline: 2px solid var(--navy-3);
  outline-offset: 3px;
}
/* Hele kortet er én stor klik-knap: vis altid hånd-markøren (også over
   overskrift/resumé/"Læs mere") og undgå at teksten ser markerbar ud med
   I-markøren. KUN udenfor redigeringstilstand — dér SKAL felterne kunne
   markeres og redigeres. */
body:not(.sydthy-editing) .news-card,
body:not(.sydthy-editing) .news-card * {
  cursor: pointer;
}
body:not(.sydthy-editing) .news-card {
  -webkit-user-select: none;
  user-select: none;
}
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-3);
  font-weight: 600;
  margin-bottom: 14px;
}
.news-card-meta .news-card-date { color: var(--ink-mute); }
.news-card-meta .news-card-dot { color: var(--line-2); }
.news-card-title {
  margin-bottom: 12px;
  line-height: 1.2;
}
.news-card-excerpt {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.news-card-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
}
.news-card:hover .news-card-more svg { transform: translateX(4px); }
.news-card-more svg { transition: transform 0.22s; }

.news-empty {
  text-align: center;
  color: var(--ink-mute);
  font-size: 1.05rem;
  padding: 40px 0 8px;
}

/* Artikelside (én nyhed) */
.news-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.news-article-meta .news-article-date {
  font-size: 0.86rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.news-article {
  max-width: 760px;
  margin: 0 auto;
}
.news-article-hero {
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
  background: var(--cream-2);
}
.news-article-body {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink);
}
.news-article-body p { margin-bottom: 22px; }
.news-article-body p:last-child { margin-bottom: 0; }
.news-article-body strong,
.news-article-body b { color: var(--navy); font-weight: 600; }
.news-article-body em,
.news-article-body i { font-style: italic; }
.news-article-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

/* ── Flydende formaterings-værktøjslinje (redigering) ────────────────────── */
.ed-format-bar {
  position: fixed;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  background: rgba(25, 39, 74, 0.96);
  border-radius: 11px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.32);
}
.ed-format-bar > button {
  appearance: none;
  border: 0;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font: 600 15px/1 var(--sans);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ed-format-bar > button:hover { background: rgba(255, 255, 255, 0.26); }
.ed-format-bar > button b { font-weight: 800; }
.ed-format-bar > button i { font-style: italic; font-family: var(--serif); }
.ed-format-bar .ed-format-emoji { font-size: 16px; }
.ed-format-sep {
  width: 1px;
  height: 20px;
  margin: 0 2px;
  background: rgba(255, 255, 255, 0.22);
}
.ed-emoji-pop {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  padding: 8px;
  background: rgba(25, 39, 74, 0.98);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  width: 232px;
}
.ed-emoji-pop button {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 5px;
  border-radius: 7px;
}
.ed-emoji-pop button:hover { background: rgba(255, 255, 255, 0.18); }
.ed-format-bar > button.ed-format-size { letter-spacing: -1px; font-weight: 700; }
.ed-format-size span { font-size: 0.68em; }
.ed-size-pop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  background: rgba(25, 39, 74, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
  z-index: 61;
}
.ed-size-pop button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  line-height: 1.15;
  padding: 6px 16px;
  border-radius: 7px;
  text-align: left;
  white-space: nowrap;
}
.ed-size-pop button:hover { background: rgba(255, 255, 255, 0.18); }
.ed-size-pop button.active { background: var(--gold); color: var(--navy); }

/* About page grids */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.about-dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.stats-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

/* Pricing / financing grid */
.financing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-split-left { padding: 60px 32px; }
  .info-cards { grid-template-columns: repeat(2, 1fr); }
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-carousel .testimonial-card { flex-basis: calc((100% - 24px) / 2); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .calc { grid-template-columns: 1fr; }
  .calc-summary { position: static; }
  .about-dark-grid { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .financing-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .hero-edi-grid { grid-template-columns: 1fr; }
  .hero-edi-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* CTA strip stacks */
  .cta-strip-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  /* CTA dark section padding tighter */
  section.dark { padding: 56px 0 !important; }
  .cta-bom { width: 240px; bottom: -50px; right: -50px; opacity: 0.04; }

  /* Contact grids stack */
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .vagt-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Law notice: icon+text stacked, button full width */
  .law-notice-grid {
    grid-template-columns: auto 1fr;
    padding: 20px 18px;
    gap: 14px;
  }
  .law-notice-grid .law-notice-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  /* About grids stack */
  .values-grid { grid-template-columns: 1fr; gap: 18px; }
  .about-dark-grid { grid-template-columns: 1fr; gap: 32px; }
  .financing-grid { grid-template-columns: 1fr; gap: 18px; }

  /* Hero improvements */
  .hero-split-left { padding: 44px 22px; }
  section.hero-classic { padding: 44px 0 56px; }
  .hero-actions { gap: 10px; }
  .hero-grid { gap: 32px; }

  /* Emergency banner: hide right side on small screens */
  .emergency-banner .ebr { display: none; }
  .emergency-banner { padding: 8px 0; font-size: 0.82rem; }

  /* Nav phone hidden on mobile (shown in drawer) */
  .nav-phone { display: none; }

  /* Section internal spacing */
  section .container > div[class*="text-center"] { margin-bottom: 32px !important; }
}

@media (max-width: 640px) {
  /* Aggressive mobile spacing: reduce section padding significantly */
  section { padding: 44px 0; }
  section.tight { padding: 32px 0; }
  .page-header { padding: 40px 0 32px; }

  .container { padding: 0 16px; }
  .container-narrow { padding: 0 16px; }
  .info-cards { grid-template-columns: 1fr; gap: 14px; }
  .treatments-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; }
  .staff-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 36px; }
  .news-grid { grid-template-columns: 1fr; gap: 18px; }
  .news-card { padding: 24px 22px 22px; }
  .news-article-foot { flex-direction: column-reverse; align-items: stretch; }
  .news-article-foot .btn { width: 100%; }
  .gallery-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .testimonials-grid { gap: 16px; margin-top: 32px; }
  .testimonials-carousel { gap: 16px; margin-top: 32px; }
  .testimonials-carousel .testimonial-card { flex-basis: 88%; }
  .blog-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .price-row { grid-template-columns: 1fr; gap: 6px; }
  .price-row .amount { text-align: left; }

  /* Tighten H1/H2 on mobile */
  h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  /* Hero stats 2-col on mobile */
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; padding-top: 28px; }
  .hero-stat .num { font-size: 1.7rem; }

  /* Trust strip 2-col */
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .trust-strip { padding: 32px 0; }
  .trust-item .num { font-size: 1.5rem; }

  /* Buttons: minimum touch target */
  .btn { min-height: 48px; padding: 12px 20px; }
  .btn-ghost { min-height: 40px; }

  /* Hero actions: stack full-width on tiny screens */
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer-bottom { gap: 14px; padding: 22px 0; }

  /* Calc summary not sticky */
  .calc-summary { top: auto; padding: 22px; }
  .calc { padding: 24px; gap: 24px; }
  .calc-summary .total { font-size: 2.4rem; }

  /* Map overlay smaller */
  .map-actions a { flex: 1; justify-content: center; }

  /* Price categories wrap nicely */
  .price-categories { gap: 8px; }
  .price-cat-btn { padding: 8px 14px; font-size: 0.84rem; }

  /* Testimonial cards */
  .testimonial-card { padding: 24px 22px; }
  .testimonial-card blockquote { font-size: 1.08rem; }
  /* Mindre citationstegn på mobil, så det ikke overlapper teksten */
  .testimonial-card .quote-mark { top: 14px; right: 18px; font-size: 2.4rem; }
  .testimonial-card blockquote { padding-top: 32px; }

  /* FAQ */
  .faq-list { margin-top: 32px; }
  .faq-q { padding: 16px 18px; font-size: 0.96rem; }
  .faq-a { padding: 0 18px; }
  .faq-a-pad { padding-bottom: 18px; }

  /* Hero editorial */
  .hero-edi-header { padding: 40px 0 28px !important; }
  .hero-edi-header h1 { font-size: clamp(2.2rem, 11vw, 4.2rem); }
  .hero-edi-meta { flex-direction: column; gap: 4px; padding-bottom: 12px; }
  .hero-edi-grid > div { padding: 26px 20px; }

  /* CTA strip — kill watermark + tighten */
  .cta-bom { display: none; }
  section.dark { padding: 44px 0 !important; }
  .cta-strip-grid { gap: 24px; }

  /* Marquee tighter */
  .marquee { padding: 14px 0; }
  .marquee-item { font-size: 1.15rem; }
  .marquee-track { gap: 36px; }

  /* About page text padding */
  .two-col { gap: 32px; }
  .two-col p { font-size: 0.98rem; }

  /* Tightens .law-notice */
  .law-notice-grid { padding: 18px 16px; gap: 14px; }
  .law-notice-grid h4 { font-size: 1.02rem; }

  /* Reduce huge headline margin */
  section > .container > div[style*="marginTop"] { margin-top: 0 !important; }

  /* Logo smaller on tiny screens */
  .nav-logo img { height: 32px; }
  .nav-inner { height: 64px !important; gap: 12px; }

  /* Page header watermark smaller */
  .page-header .bom-watermark { width: 110px; right: 16px; opacity: 0.05; }

  /* Inline grids on staff/about dark section */
  .stats-mini-grid { grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
  .stats-mini-grid > div > div:first-child { font-size: 1.8rem !important; }
}


/* ============================================================
   Cookie consent banner
   ============================================================ */
.cookie-overlay {
  position: fixed; inset: auto 0 0 0;
  z-index: 9000;
  display: flex; justify-content: center;
  padding: 16px;
  pointer-events: none;
  animation: cookie-rise 0.32s ease-out;
}
@keyframes cookie-rise {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner {
  pointer-events: auto;
  width: 100%; max-width: 720px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-lg, 14px);
  box-shadow: 0 30px 60px -20px rgba(25, 39, 74, 0.35), 0 10px 20px -10px rgba(25,39,74,0.18);
  overflow: hidden;
}
.cookie-banner-inner { padding: 26px 28px 22px; }
.cookie-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-3);
  font-weight: 600;
}
.cookie-head h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin: 8px 0 12px;
  letter-spacing: -0.01em;
}
.cookie-head p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.cookie-head p a {
  color: var(--navy);
  border-bottom: 1px solid var(--navy-3);
}
.cookie-prefs {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex; flex-direction: column;
  gap: 10px;
}
.cookie-pref {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.cookie-pref:hover { border-color: var(--navy-3); }
.cookie-pref input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--navy);
  flex-shrink: 0;
}
.cookie-pref input[disabled] { opacity: 0.7; }
.cookie-pref-text { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 0.9rem; }
.cookie-pref-text strong { color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.cookie-pref-text span { color: var(--ink-soft); line-height: 1.5; }
.cookie-pref-tag {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy-3); font-weight: 600;
  background: rgba(59, 90, 171, 0.08);
  padding: 6px 10px; border-radius: 999px;
  align-self: flex-start;
  flex-shrink: 0;
}
.cookie-actions {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: flex-end;
}
.cookie-btn {
  font-family: var(--sans);
  font-size: 0.92rem; font-weight: 600;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s;
}
.cookie-btn-primary { background: var(--navy); color: #fff; }
.cookie-btn-primary:hover { background: var(--navy-2); }
.cookie-btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.cookie-btn-outline:hover { background: var(--navy); color: #fff; }
.cookie-btn-ghost { background: transparent; color: var(--ink-soft); border-color: var(--line); }
.cookie-btn-ghost:hover { color: var(--navy); border-color: var(--navy); }
.cookie-foot {
  margin-top: 14px;
  display: flex; gap: 10px; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--ink-mute);
}
.cookie-foot a { color: var(--navy-3); border-bottom: 1px solid transparent; }
.cookie-foot a:hover { border-bottom-color: var(--navy-3); }

@media (max-width: 540px) {
  .cookie-banner-inner { padding: 22px 20px 18px; }
  .cookie-head h3 { font-size: 1.2rem; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .cookie-btn { flex: 1 1 auto; text-align: center; }
}

/* ============================================================
   Ferie-/lukkevarsel (pop up til besøgende)
   ============================================================ */
.closure-overlay {
  position: fixed; inset: 0;
  z-index: 9200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  animation: closure-fade 0.28s ease-out;
}
@keyframes closure-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes closure-pop {
  from { transform: translateY(14px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.closure-modal {
  position: relative;
  width: 100%; max-width: 440px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-lg, 16px);
  padding: 34px 32px 28px;
  text-align: center;
  box-shadow: 0 40px 80px -24px rgba(15, 23, 42, 0.5), 0 12px 26px -12px rgba(15,23,42,0.28);
  border-top: 4px solid var(--gold);
  animation: closure-pop 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.closure-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent;
  color: var(--ink-mute);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.closure-close:hover { background: var(--cream); color: var(--navy); }
.closure-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  color: var(--navy);
}
.closure-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep, #ab8a4d);
  font-weight: 700;
}
.closure-modal h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--navy);
  margin: 8px 0 12px;
  letter-spacing: -0.01em;
}
.closure-lead {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 4px;
}
.closure-lead strong { color: var(--navy); }
.closure-period {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-mute);
  margin: 0 0 20px;
  font-weight: 600;
}
.closure-emergency {
  text-align: left;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.closure-emergency strong { color: var(--navy); font-size: 0.95rem; }
.closure-emergency a { color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--gold); white-space: nowrap; }
.closure-signoff {
  margin: 18px 0 22px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.closure-signoff strong { color: var(--navy); }
.closure-btn {
  font-family: var(--sans);
  font-size: 0.95rem; font-weight: 600;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  transition: background 0.18s;
  width: 100%;
}
.closure-btn:hover { background: var(--navy-2); }
@media (prefers-reduced-motion: reduce) {
  .closure-overlay, .closure-modal { animation: none; }
}
@media (max-width: 480px) {
  .closure-modal { padding: 30px 22px 24px; }
  .closure-modal h3 { font-size: 1.35rem; }
}

/* ============================================================
   Legal pages (Cookies + Privatlivspolitik)
   ============================================================ */
.legal-page { padding-top: 70px; padding-bottom: 90px; }
.legal-container { max-width: 820px; }
.legal-page h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--navy);
  margin: 56px 0 16px;
  letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}
.legal-page h2:first-of-type { margin-top: 8px; }
.legal-page p { font-size: 1rem; line-height: 1.75; color: var(--ink-soft); margin-bottom: 18px; }
.legal-page p a, .legal-page li a {
  color: var(--navy);
  border-bottom: 1px solid var(--navy-3);
}
.legal-page p a:hover, .legal-page li a:hover { color: var(--navy-3); }

.legal-toc {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 30px;
}
.legal-toc h4 {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy-3); font-weight: 600;
  margin-bottom: 12px;
}
.legal-toc ol {
  list-style: decimal inside;
  margin: 0; padding: 0;
  display: grid; gap: 6px;
  font-size: 0.95rem;
}
.legal-toc ol a { color: var(--navy); border-bottom: 1px solid transparent; }
.legal-toc ol a:hover { border-bottom-color: var(--navy-3); }

.legal-list {
  margin: 0 0 22px;
  padding-left: 22px;
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 1rem;
}
.legal-list li { margin-bottom: 8px; }
.legal-list li strong { color: var(--navy); font-weight: 600; }

.legal-table-wrap {
  overflow-x: auto;
  margin: 18px 0 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 540px;
}
.legal-table th, .legal-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal-table th {
  background: var(--cream);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td { color: var(--ink-soft); line-height: 1.6; }
.legal-table td strong { color: var(--navy); }

.legal-muted {
  font-size: 0.9rem;
  color: var(--ink-mute);
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
}

.legal-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 8px 0 22px;
}

.legal-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.legal-card strong { color: var(--navy); font-family: var(--serif); font-size: 1.05rem; font-weight: 500; margin-bottom: 4px; }

.legal-meta {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--ink-mute);
}


/* ─────────────────────────────────────────────────────────────────────────
   Chatbot — "Sydthy klinikkens chat"
   Bemærk: alle .cb-* klasser er chatbot-isolerede så de ikke ramler ind i
   det øvrige website. Mobile-first; opskaleres på desktop.
   ───────────────────────────────────────────────────────────────────────── */

.cb-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Flydende knap */
.cb-fab {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 36px -8px rgba(25,39,74,0.45), 0 4px 12px rgba(25,39,74,0.18);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
.cb-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -10px rgba(25,39,74,0.5), 0 6px 14px rgba(25,39,74,0.2);
}
.cb-fab:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.cb-fab.hidden { opacity: 0; pointer-events: none; transform: translateY(8px) scale(0.96); }
.cb-fab.near-footer {
  transform: translateY(-110px);
}
.cb-fab.near-footer:hover {
  transform: translateY(-112px);
}
@media (max-width: 640px) {
  .cb-fab.near-footer { transform: translateY(-90px); }
  .cb-fab.near-footer:hover { transform: translateY(-92px); }
}
.cb-fab-inner {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.cb-fab-badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px var(--cream);
}

@media (max-width: 480px) {
  .cb-fab { padding: 14px; right: 16px; bottom: 16px; }
  .cb-fab-label { display: none; }
  .cb-fab-inner { width: 28px; height: 28px; }
}

/* Backdrop (kun på mobil) */
.cb-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(25,39,74,0.45);
  z-index: 9001;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: cb-fade-in 0.2s ease;
}
@keyframes cb-fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 641px) { .cb-backdrop { display: none; } }

/* Panel */
.cb-panel {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 400px;
  max-width: calc(100vw - 40px);
  height: min(680px, calc(100vh - 40px));
  background: var(--cream);
  border-radius: 22px;
  box-shadow: 0 30px 80px -20px rgba(25,39,74,0.45), 0 8px 24px rgba(25,39,74,0.12);
  z-index: 9002;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  border: 1px solid rgba(25,39,74,0.08);
  font-family: var(--sans);
  padding: 0 !important; /* override global `section { padding: 96px 0 }` */
}
.cb-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cb-panel[aria-hidden="true"] * { visibility: hidden; }
.cb-panel.open[aria-hidden="false"] *,
.cb-panel.open * { visibility: visible; }

@media (max-width: 640px) {
  .cb-panel {
    right: 0; bottom: 0; left: 0;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    border-radius: 18px 18px 0 0;
  }
}

/* Header */
.cb-header {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: none;
  position: relative;
}
.cb-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(201,168,107,0.18), transparent 50%);
  pointer-events: none;
}
.cb-header-id {
  display: flex; align-items: center; gap: 12px;
  position: relative; z-index: 1;
}
.cb-header-id h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}
.cb-subtitle {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 2px;
  letter-spacing: 0.005em;
}
.cb-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #6fce8f;
  box-shadow: 0 0 0 0 rgba(111,206,143,0.6);
  animation: cb-pulse-dot 2.2s ease-out infinite;
}
@keyframes cb-pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(111,206,143,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(111,206,143,0); }
  100% { box-shadow: 0 0 0 0 rgba(111,206,143,0); }
}

.cb-header-actions {
  display: flex; align-items: center; gap: 4px;
  position: relative; z-index: 1;
}
.cb-icon-btn {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.cb-icon-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
.cb-icon-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.cb-lang {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Body */
.cb-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}
.cb-body::-webkit-scrollbar { width: 8px; }
.cb-body::-webkit-scrollbar-thumb { background: rgba(25,39,74,0.18); border-radius: 8px; }
.cb-body::-webkit-scrollbar-track { background: transparent; }
.cb-body-form { padding: 22px 22px 18px; }

/* Velkomst */
.cb-welcome {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-sm);
}
.cb-welcome-text {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 12px;
}
.cb-disclaimer {
  font-size: 0.78rem;
  color: var(--ink-mute);
  line-height: 1.5;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  position: relative;
}
.cb-disclaimer-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

/* Beskeder */
.cb-msg {
  display: flex;
}
.cb-msg-user { justify-content: flex-end; }
.cb-msg-assistant { justify-content: flex-start; }
.cb-bubble {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.94rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
  letter-spacing: -0.003em;
}
.cb-msg-user .cb-bubble {
  background: var(--navy);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.cb-msg-assistant .cb-bubble {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
  box-shadow: var(--shadow-sm);
}
.cb-bubble-error {
  background: #fdf3f3 !important;
  border-color: #e8c5c5 !important;
  color: #7a3a3a !important;
}

/* Typing-indikator */
.cb-typing {
  display: inline-flex;
  gap: 5px;
  padding: 14px 16px;
}
.cb-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-mute);
  animation: cb-typing-bounce 1.1s ease-in-out infinite;
}
.cb-typing span:nth-child(2) { animation-delay: 0.15s; }
.cb-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes cb-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Akut-blok */
.cb-emergency {
  background: linear-gradient(160deg, #fff8ea 0%, #faf2dc 100%);
  border: 1px solid #e8d6a6;
  border-left: 4px solid var(--gold-deep);
  border-radius: 14px;
  padding: 14px 16px;
  max-width: 92%;
}
.cb-emergency-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--navy);
}
.cb-pulse {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold-deep);
  box-shadow: 0 0 0 0 rgba(171,138,77,0.6);
  animation: cb-pulse-dot 1.6s ease-out infinite;
}
.cb-emergency p {
  font-size: 0.9rem;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.5;
}
.cb-emergency-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
}

/* Knapper (chatbot-isolerede) */
.cb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}
.cb-btn:focus-visible {
  outline: 2px solid var(--navy-3);
  outline-offset: 2px;
}
.cb-btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.cb-btn-gold:hover { background: var(--gold-deep); color: #fff; }
.cb-btn-primary {
  background: var(--navy);
  color: #fff;
}
.cb-btn-primary:hover { background: var(--navy-2); }
.cb-btn-primary:disabled {
  background: var(--line-2);
  color: var(--ink-mute);
  cursor: not-allowed;
}
.cb-btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--line);
}
.cb-btn-ghost:hover { color: var(--navy); border-color: var(--navy); }

/* Quick replies */
.cb-quicks {
  margin-top: 4px;
}
.cb-quicks-label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 10px;
  padding-left: 2px;
}
.cb-quicks-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cb-quick {
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.4;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
  cursor: pointer;
}
.cb-quick:hover {
  border-color: var(--navy-3);
  background: #fbfaf6;
  transform: translateX(2px);
}
.cb-quick:focus-visible {
  outline: 2px solid var(--navy-3);
  outline-offset: 2px;
}

/* Fallback til menneske */
.cb-fallback {
  background: rgba(25,39,74,0.03);
  border: 1px dashed rgba(25,39,74,0.18);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.cb-fallback-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cb-fallback-btn:hover { background: var(--navy-2); }
.cb-fallback-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Input */
.cb-input-row {
  flex: none;
  display: flex;
  gap: 8px;
  padding: 12px 14px 12px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.cb-input-row input {
  flex: 1;
  font: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  min-height: 44px;
  letter-spacing: -0.003em;
}
.cb-input-row input:focus {
  outline: 0;
  border-color: var(--navy-3);
  box-shadow: 0 0 0 3px rgba(59,90,171,0.15);
}
.cb-input-row input::placeholder { color: var(--ink-mute); }
.cb-input-row input:disabled { background: #faf7f1; color: var(--ink-mute); }
.cb-send {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
  flex: none;
}
.cb-send:hover:not(:disabled) { background: var(--navy-2); transform: scale(1.04); }
.cb-send:disabled {
  background: var(--line-2);
  cursor: not-allowed;
}
.cb-send:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Foot */
.cb-foot {
  flex: none;
  padding: 8px 16px 12px;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  font-size: 0.74rem;
  color: var(--ink-mute);
}
.cb-foot-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cream-2);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  font-weight: 600;
}
.cb-foot-pill::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.cb-foot a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: rgba(25,39,74,0.18);
  text-underline-offset: 2px;
}
.cb-foot a:hover { color: var(--navy); }
.cb-foot a:focus-visible { outline: 2px solid var(--navy-3); outline-offset: 2px; border-radius: 4px; }

/* Callback form */
.cb-callback {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cb-callback-head h4 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 6px;
}
.cb-callback-head p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
}
.cb-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cb-field > span,
.cb-field > legend {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.cb-field input,
.cb-field textarea {
  font: inherit;
  font-size: 0.95rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  min-height: 44px;
}
.cb-field textarea { resize: vertical; min-height: 60px; }
.cb-field input:focus,
.cb-field textarea:focus {
  outline: 0;
  border-color: var(--navy-3);
  box-shadow: 0 0 0 3px rgba(59,90,171,0.15);
}
.cb-field input[aria-invalid="true"] {
  border-color: #c98a8a;
}
.cb-when { border: 0; padding: 0; margin: 0; }
.cb-when-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cb-chip {
  position: relative;
  cursor: pointer;
}
.cb-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cb-chip span {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
  color: var(--ink-soft);
  transition: all 0.15s ease;
}
.cb-chip:hover span { border-color: var(--navy-3); color: var(--navy); }
.cb-chip.on span {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.cb-chip input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.cb-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.5;
  cursor: pointer;
}
.cb-consent input {
  margin-top: 3px;
  flex: none;
  width: 16px; height: 16px;
  accent-color: var(--navy);
}
.cb-callback-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}
.cb-callback-sent {
  text-align: center;
  padding: 24px 8px;
}
.cb-callback-checkmark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #e8f6ec;
  color: #2f8a4a;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.cb-callback-sent h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 8px;
}
.cb-callback-sent p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

/* Skjul TweaksPanel-konflikt: chatbot må ikke ramme tweaks-knappen.
   Sørg for nok rum nederst på smalle skærme. */
@media (max-width: 480px) {
  .cb-fab { bottom: 16px; }
}

/* Reducerede bevægelser */
@media (prefers-reduced-motion: reduce) {
  .cb-fab, .cb-panel, .cb-typing span, .cb-dot, .cb-pulse, .cb-quick,
  .cb-send, .cb-backdrop, .cb-btn { animation: none !important; transition: none !important; }
}

/* Tweaks-panelet ligger oftest top-right; vi giver chatbot bottom-right,
   så de ikke kolliderer. På meget små skærme stack'er de stadig pænt. */


/* ═══════════════════════════════════════════════════════════════════════════
   ADMIN — klinik-indstillinger
   ═══════════════════════════════════════════════════════════════════════════ */

/* Footer-trigger */
.adm-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.6);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.18s ease;
}
.adm-trigger:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.adm-trigger svg { opacity: 0.7; }
.adm-trigger:hover svg { opacity: 1; }

/* Backdrop & modal */
.adm-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 22, 40, 0.62);
  backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: adm-fade 0.18s ease;
}
@keyframes adm-fade { from { opacity: 0; } to { opacity: 1; } }

.adm-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(15, 22, 40, 0.35);
  width: 100%;
  max-width: 940px;
  max-height: calc(100vh - 48px);
  display: flex; flex-direction: column;
  overflow: hidden;
  font-family: var(--sans);
  animation: adm-rise 0.22s cubic-bezier(.2,.7,.2,1);
}
@keyframes adm-rise {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.adm-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  background: var(--navy);
  color: #fff;
}
.adm-header-id { display: flex; align-items: center; gap: 14px; }
.adm-header-badge {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: var(--gold);
}
.adm-header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
}
.adm-header-sub { color: rgba(255,255,255,0.55); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }
.adm-close {
  background: transparent; border: 0; color: rgba(255,255,255,0.7);
  width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center; cursor: pointer;
  transition: background 0.15s;
}
.adm-close:hover { background: rgba(255,255,255,0.1); color: #fff; }

.adm-body { display: flex; flex: 1; min-height: 0; }
.adm-body-center { justify-content: center; align-items: center; padding: 48px 32px; }

.adm-tabs {
  width: 220px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  background: var(--cream);
  padding: 18px 14px;
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.adm-tab {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink-soft);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}
.adm-tab:hover { background: rgba(0,0,0,0.04); color: var(--navy); }
.adm-tab.is-active { background: var(--navy); color: #fff; }
.adm-tab.is-active svg { color: var(--gold); }
.adm-tab svg { color: var(--navy-3); flex-shrink: 0; }

.adm-content {
  flex: 1;
  overflow-y: auto;
  padding: 28px 32px 32px;
}

.adm-section { display: flex; flex-direction: column; gap: 22px; }
.adm-section-head h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
}
.adm-section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.55;
  max-width: 580px;
}

/* Login */
.adm-login {
  width: 100%; max-width: 360px;
  display: flex; flex-direction: column; gap: 14px;
  text-align: center;
}
.adm-login-icon {
  margin: 0 auto 6px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--navy);
  display: grid; place-items: center;
}
.adm-login h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
}
.adm-login-lead { color: var(--ink-soft); font-size: 0.9rem; margin: 0; line-height: 1.5; }
.adm-login .adm-field { text-align: left; }
.adm-hint {
  font-size: 0.78rem;
  color: var(--ink-mute);
  background: var(--cream);
  padding: 10px 14px;
  border-radius: 8px;
  text-align: left;
  line-height: 1.5;
}
.adm-hint code {
  font-family: ui-monospace, monospace;
  background: rgba(0,0,0,0.06);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}
.adm-err { color: #b04848; font-size: 0.85rem; }
.adm-msg { font-size: 0.85rem; padding: 8px 12px; border-radius: 8px; }
.adm-msg-ok  { color: #3a7a4a; background: rgba(58,122,74,0.1); }
.adm-msg-err { color: #b04848; background: rgba(176,72,72,0.1); }

/* Form fields */
.adm-field {
  display: flex; flex-direction: column; gap: 6px;
}
.adm-field > span,
.adm-field > legend {
  font-size: 0.8rem;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.adm-field input[type="text"],
.adm-field input[type="time"],
.adm-field input[type="date"],
.adm-field input[type="password"],
.adm-field textarea,
.adm-text-field textarea,
.adm-text-field input[type="text"] {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.94rem;
  font-family: var(--sans);
  background: #fff;
  color: var(--navy);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.adm-field input:focus,
.adm-field textarea:focus,
.adm-text-field input:focus,
.adm-text-field textarea:focus {
  outline: 0;
  border-color: var(--navy-3);
  box-shadow: 0 0 0 3px rgba(25, 39, 74, 0.1);
}
.adm-field input:disabled {
  background: var(--cream);
  color: var(--ink-mute);
  cursor: not-allowed;
}
.adm-field-row { display: flex; gap: 14px; flex-wrap: wrap; }
.adm-field-row .adm-field { flex: 0 0 auto; }
.adm-field-grow { flex: 1 1 200px !important; }

/* Buttons */
.adm-btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 11px 18px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
}
.adm-btn-primary { background: var(--navy); color: #fff; }
.adm-btn-primary:hover:not(:disabled) { background: #0f1b35; }
.adm-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.adm-btn-ghost { background: transparent; color: var(--ink-soft); border-color: var(--line); }
.adm-btn-ghost:hover { background: var(--cream); color: var(--navy); }
.adm-btn-sm { padding: 6px 12px; font-size: 0.82rem; }

/* Hours editor */
.adm-hours h4 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-3);
  font-weight: 600;
}
.adm-hours-grid {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--cream);
  padding: 14px;
  border-radius: 10px;
}
.adm-hours-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 6px 4px;
}
.adm-hours-row.is-closed .adm-hours-times { opacity: 0.35; }
.adm-hours-day { font-weight: 500; color: var(--navy); font-size: 0.92rem; }
.adm-hours-times { display: flex; align-items: center; gap: 8px; }
.adm-hours-times input[type="time"] {
  padding: 6px 8px;
  font-size: 0.88rem;
  width: 110px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--sans);
  background: #fff;
  color: var(--navy);
}
.adm-hours-sep { color: var(--ink-mute); }
.adm-hours-closed { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--ink-soft); cursor: pointer; }
.adm-hours-closed input { width: 16px; height: 16px; accent-color: var(--navy); }

/* Closures */
.adm-banner {
  padding: 12px 16px;
  background: var(--cream);
  border-left: 3px solid var(--navy-3);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.adm-banner strong { color: var(--navy); }
.adm-banner-warn { background: #fdf3e8; border-left-color: #c47a3f; color: #6b3d18; }
.adm-banner-warn strong { color: #6b3d18; }

.adm-closure-add {
  background: var(--cream);
  padding: 16px;
  border-radius: 10px;
  display: flex; flex-direction: column; gap: 12px;
}
.adm-closure-list { display: flex; flex-direction: column; gap: 8px; }
.adm-closure {
  display: flex; align-items: flex-end;
  gap: 14px; flex-wrap: wrap;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.adm-closure.is-active { border-color: #c47a3f; background: #fdf6ed; }
.adm-closure.is-past { opacity: 0.55; }
.adm-closure strong { color: var(--navy); font-size: 0.95rem; }
/* Redigerbar lukkedag: Fra/Til/Anledning som i tilføj-formen, handlinger pinnet til højre */
.adm-closure-fields { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; flex: 1 1 320px; }
.adm-closure-fields .adm-field-grow { flex: 1 1 150px !important; }
.adm-closure-actions {
  display: flex; align-items: center; gap: 8px;
  flex: 0 0 auto; margin-left: auto; padding-bottom: 2px;
}
.adm-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--cream-2);
  color: var(--navy-3);
  font-size: 0.72rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.adm-tag-warn { background: #f4d5b4; color: #6b3d18; }
.adm-empty { color: var(--ink-mute); font-size: 0.9rem; padding: 14px; text-align: center; background: var(--cream); border-radius: 8px; }

.adm-suggestions h4 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-3);
  font-weight: 600;
}
.adm-suggestion-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-chip {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--sans);
}
.adm-chip:hover:not(:disabled) { border-color: var(--navy-3); color: var(--navy); }
.adm-chip.is-on { background: var(--cream-2); color: var(--navy); border-color: var(--gold); cursor: default; }
.adm-suggestions-note { margin: 0 0 12px; font-size: 0.82rem; color: var(--ink-mute); line-height: 1.55; }
.adm-suggestions-note strong { color: var(--navy); }
.adm-suggestion-year { margin-bottom: 12px; }
.adm-suggestion-year-label {
  display: inline-block; margin-bottom: 6px;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
  color: var(--navy-3); letter-spacing: 0.04em;
}

/* Text fields */
.adm-text-field { display: flex; flex-direction: column; gap: 8px; }
.adm-text-head { display: flex; align-items: center; justify-content: space-between; }
.adm-text-head strong { color: var(--navy); font-size: 0.95rem; }
.adm-text-desc { margin: 0; font-size: 0.82rem; color: var(--ink-mute); }
.adm-text-field textarea { font-family: var(--sans); resize: vertical; min-height: 64px; }

/* Access */
.adm-pwd-form { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.adm-divider { height: 1px; background: var(--line); margin: 8px 0; }
.adm-note { font-size: 0.82rem; color: var(--ink-mute); background: var(--cream); padding: 12px 16px; border-radius: 8px; line-height: 1.55; }
.adm-note strong { color: var(--navy); }

/* Rediger side — launcher */
.adm-edit-launch { display: flex; gap: 18px; align-items: flex-start; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.adm-edit-launch-icon { width: 48px; height: 48px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; }
.adm-edit-launch-body { flex: 1; }
.adm-edit-launch-body strong { display: block; font-size: 1.02rem; color: var(--navy); margin-bottom: 6px; }
.adm-edit-launch-body p { font-size: 0.9rem; color: var(--ink-mute); line-height: 1.6; margin: 0 0 16px; }
.adm-edit-launch-body em { color: var(--navy); font-style: italic; }

/* Henvendelser */
.adm-sub-list { display: flex; flex-direction: column; gap: 12px; }
.adm-sub { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.adm-sub.is-handled { opacity: 0.6; background: var(--cream); }
.adm-sub-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.adm-sub-top strong { color: var(--navy); }
.adm-sub-date { margin-left: auto; font-size: 0.8rem; color: var(--ink-mute); }
.adm-sub-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; font-size: 0.86rem; color: var(--ink-soft); }
.adm-sub-meta a { color: var(--navy-3); }
.adm-sub-msg { margin: 10px 0 0; font-size: 0.92rem; line-height: 1.5; white-space: pre-wrap; color: var(--ink); }
.adm-sub-actions { display: flex; gap: 8px; margin-top: 12px; }

/* Footer */
.adm-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 26px;
  border-top: 1px solid var(--line);
  background: var(--cream);
  font-size: 0.78rem;
  color: var(--ink-mute);
}
.adm-footer-status { color: #3a7a4a; font-weight: 600; }

/* When admin focuses an image-slot from the panel, flash it */
image-slot.admin-flash {
  animation: adm-flash 2.4s ease;
}
@keyframes adm-flash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 107, 0); }
  20%, 60% { box-shadow: 0 0 0 6px rgba(201, 168, 107, 0.55), 0 0 0 12px rgba(201, 168, 107, 0.15); }
}

/* Mobile */
@media (max-width: 760px) {
  .adm-backdrop { padding: 0; }
  .adm-modal { border-radius: 0; max-height: 100vh; height: 100vh; max-width: 100%; }
  .adm-body { flex-direction: column; }
  .adm-tabs {
    width: 100%; flex-direction: row; overflow-x: auto;
    border-right: 0; border-bottom: 1px solid var(--line);
    padding: 10px; gap: 4px;
  }
  .adm-tab { flex-shrink: 0; }
  .adm-tab span { white-space: nowrap; }
  .adm-content { padding: 20px 18px 24px; }
  .adm-hours-row { grid-template-columns: 70px 1fr auto; gap: 8px; }
  .adm-hours-times input[type="time"] { width: 88px; padding: 5px 6px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   MOBIL RING-BJÆLKE — fast "Ring 97 95 10 40" nederst på små skærme
   ═══════════════════════════════════════════════════════════════════════════ */
.mobile-call-bar { display: none; }
@media (max-width: 768px) {
  .mobile-call-bar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 8900; /* under chatbot (9000), over alt andet */
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mobile-call-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    background: var(--navy);
    color: #fff;
    border-radius: 999px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 24px -8px rgba(25, 39, 74, 0.4);
  }
  .mobile-call-bar a:active { transform: scale(0.98); }
  /* Giv plads så footeren ikke gemmes bag bjælken */
  body { padding-bottom: 74px; }
  /* Løft chatbot-knappen over bjælken */
  .cb-fab { bottom: 90px; }
}
