:root {
  --bg: #fcfeff;
  --bg-soft: #f3fafe;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --text: #18323f;
  --muted: #597180;
  --accent: #6aa8c7;
  --accent-dark: #4f8fad;
  --line: rgba(24, 50, 63, 0.1);
  --hero-line: rgba(106, 168, 199, 0.16);
  --shadow-soft: 0 16px 40px rgba(98, 135, 154, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), transparent 24%),
    linear-gradient(135deg, rgba(243, 250, 254, 0.95), rgba(252, 254, 255, 0.98));
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}

a {
  color: inherit;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 10%, rgba(138, 196, 222, 0.08), transparent 24%),
    radial-gradient(circle at 92% 12%, rgba(183, 225, 241, 0.12), transparent 26%),
    radial-gradient(circle at 80% 84%, rgba(255, 255, 255, 0.7), transparent 20%);
}

.page-shell {
  position: relative;
  min-height: 100vh;
}

.sidebar {
  display: none;
}

.mobile-topbar,
.mobile-nav {
  position: sticky;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.mobile-topbar {
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.65rem;
  background: rgba(244, 251, 255, 0.84);
  border-bottom: 1px solid var(--line);
}

.mobile-topbar strong {
  font: 700 0.95rem/1 Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.mobile-nav {
  top: 57px;
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.7rem 1rem 0.9rem;
  background: rgba(244, 251, 255, 0.9);
  border-bottom: 1px solid var(--line);
}

.mobile-nav a,
.nav-panel a {
  text-decoration: none;
  white-space: nowrap;
}

.mobile-nav a {
  padding: 0.45rem 0.15rem;
  border-bottom: 1px solid transparent;
  font-size: 0.95rem;
  color: var(--muted);
}

.mobile-nav a.is-active {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
}

.mobile-call {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #6eaed0, var(--accent));
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(79, 145, 178, 0.2);
  font: 700 0.9rem/1 Arial, sans-serif;
}

.content {
  width: 100%;
  margin: 0 auto;
  padding: 1.15rem 1rem 4rem;
}

.hero,
.content-section,
.footer {
  position: relative;
}

.hero {
  padding: 1.2rem 0 2.4rem;
}

.hero-logo {
  margin-bottom: 1rem;
  width: clamp(56px, 6vw, 84px);
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-orb-one {
  top: -40px;
  right: 8%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(111, 183, 217, 0.2), transparent 68%);
}

.hero-orb-two {
  left: -30px;
  bottom: 10px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(194, 229, 243, 0.38), transparent 70%);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-body h1,
.hero-body h2,
.hero-body h3,
.content-section h2,
.content-section h3 {
  font-weight: 600;
  line-height: 1.05;
}

.hero-body h1,
.hero-body h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 18ch;
  letter-spacing: -0.03em;
}

.hero-body p {
  max-width: none;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(180deg, #6eaed0, var(--accent));
  color: #fff;
  box-shadow: 0 14px 30px rgba(79, 145, 178, 0.22);
}

.button-secondary {
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(79, 145, 178, 0.15);
}

.section-image {
  margin: 2rem 0 0;
}

.section-image img {
  display: block;
  width: min(70%, 760px);
  height: auto;
  border-radius: 16px;
  margin: 0 auto;
}

.hero-image {
  margin-top: 2.2rem;
}

.content-section {
  margin-top: 4.6rem;
  padding-top: 2.8rem;
  border-top: 1px solid var(--hero-line);
}

.content-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(106, 168, 199, 0.92), transparent);
  transform: translateX(-50%);
}

.content-section::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(106, 168, 199, 0.75);
  box-shadow: 0 0 0 8px rgba(243, 250, 254, 0.95);
  transform: translateX(-50%);
}

.content-section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(243, 250, 254, 0.45), rgba(255, 255, 255, 0));
}

.section-header {
  margin-bottom: 0.95rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
}

.section-body {
  max-width: none;
  color: var(--muted);
  line-height: 1.9;
}

.section-body h1 {
  display: none;
}

.section-body h2,
.section-body h3 {
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
}

.section-body p,
.section-body li {
  font-size: 1.05rem;
}

.section-body ul,
.section-body ol {
  padding-left: 1.2rem;
}

.section-body ul li::marker,
.section-body ol li::marker {
  color: var(--accent);
}

.section-booking .section-body,
.section-om-lene .section-body,
.section-klinik .section-body,
.section-behandlinger .section-body {
  max-width: none;
}

.section-behandlinger .section-body h2 {
  padding-top: 1rem;
  border-top: 1px solid rgba(79, 145, 178, 0.1);
}

.section-klinik .section-body h2 {
  color: var(--accent-dark);
}

.booking-embed {
  margin-top: 1.7rem;
  overflow: hidden;
  border-top: 1px solid rgba(79, 145, 178, 0.14);
  width: min(70%, 820px);
  margin-left: auto;
  margin-right: auto;
}

.booking-embed iframe {
  display: block;
  width: 100%;
  min-height: 546px;
  border: 0;
  background: transparent;
}

.placeholder-note,
.tagline {
  color: var(--muted);
}

.booking-link {
  margin-top: 1.4rem;
}

.footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hero-line);
}

.footer p {
  margin: 0.25rem 0;
}

@media (min-width: 760px) {
  .content {
    padding: 1.3rem 1.6rem 4.5rem;
  }

  .hero {
    padding-top: 1.8rem;
  }
}

@media (min-width: 980px) {
  .page-shell {
    display: grid;
    grid-template-columns: 16.6667vw 66.6667vw 16.6667vw;
    min-height: 100vh;
  }

  .sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    padding: 2rem 1.5rem 2rem 2rem;
    border-right: 1px solid var(--line);
    background: rgba(252, 254, 255, 0.82);
    backdrop-filter: blur(10px);
  }

  .nav-panel {
    z-index: 25;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-panel a {
    position: relative;
    padding: 0.55rem 0.8rem;
    color: var(--muted);
    font-size: 0.98rem;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
  }

  .nav-panel a.is-active {
    color: var(--accent-dark);
    border-color: rgba(106, 168, 199, 0.35);
    background: rgba(255, 255, 255, 0.8);
  }

  .sidebar-contact {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .sidebar-contact p {
    margin: 0.15rem 0;
  }

  .sidebar-contact a {
    text-decoration: none;
  }

  .mobile-topbar,
  .mobile-nav {
    display: none;
  }

  .content {
    grid-column: 2;
    padding: 1.4rem 2.6rem 5rem 2rem;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 1.5rem;
    align-items: start;
  }

  .hero-logo {
    margin-top: 0.15rem;
    margin-bottom: 0;
    justify-self: end;
  }

  .hero-copy {
    min-width: 0;
  }

  .hero-image {
    grid-column: 1 / -1;
  }
}
