/* Charlottenlund Fort Camping – stylesheet
   Værdier er målt fra den oprindelige Framer-side (desktop 1440px). */

:root {
  --green: #01df72;
  --green-soft: #9ef0c8;
  --cream: #fdf9f9;
  --ink: #0d0d0d;
  --black: #000;
  --muted: #2e2e2e;
  --line: rgba(189, 181, 181, 0.51);
  --alert: rgba(247, 27, 27, 0.8);
  --hero-bg: #00080f;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-card: 0.06px 0.6px 0.6px -1.25px rgba(0, 0, 0, 0.18), 0.23px 2.29px 2.3px -2.5px rgba(0, 0, 0, 0.16), 1px 10px 10px -3.75px rgba(0, 0, 0, 0.06);
  --font-display: "Tanker", "Impact", sans-serif;
  --font-inter: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-inter-display: "Inter Display", "Inter", system-ui, sans-serif;
  --font-inter-var: "Inter Variable", "Inter", system-ui, sans-serif;
  --font-serif: "Inria Serif", Georgia, serif;
  --footer-h: 675px;
  --ease: cubic-bezier(0.44, 0, 0.56, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-inter);
  color: var(--black);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.ic { width: 24px; height: 24px; flex: none; }

/* Indholdet ligger over den faste footer, så footeren "afsløres" ved scroll */
main { position: relative; z-index: 2; background: var(--cream); box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25); }

/* ---------------------------------------------------------------- knapper */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  min-width: 149px;
  padding: 0 33px;
  overflow: hidden;
  color: #fff;
  font-family: var(--font-inter);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease);
}
.btn--green { background: var(--green); }
.btn--dark { background: var(--black); }
.btn__icon {
  position: absolute;
  left: -32px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  transition: left 0.35s var(--ease);
}
.btn__label { transition: transform 0.35s var(--ease); }
.btn:hover .btn__icon, .btn:focus-visible .btn__icon { left: 16px; }
.btn:hover .btn__label, .btn:focus-visible .btn__label { transform: translateX(14px); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 94px;
  pointer-events: none;
}
.nav {
  position: relative;
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  pointer-events: auto;
}
.nav::before { /* glas-baggrund når man har scrollet */
  content: "";
  position: absolute;
  inset: 20px 15px;
  border-radius: 5px;
  background: rgba(253, 249, 249, 0.4);
  box-shadow: 1px 3px 2px 2px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: -1;
}
.nav::after { /* hvid streg under menuen øverst på siden */
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 0;
  height: 1px;
  border-radius: 1px;
  background: #fff;
  transition: opacity 0.35s var(--ease);
}
.nav__logo { position: relative; display: block; width: 116px; height: 54px; }
.nav__logo img { position: absolute; left: 0; transition: opacity 0.35s var(--ease); }
.logo--light { top: 0; width: 60px; height: 54px; }
.logo--dark { top: 6px; width: 116px; height: 42px; opacity: 0; }

.nav__list { display: flex; align-items: center; }
.nav__item { position: relative; }
.nav__sep { width: 1px; height: 25px; margin: 0 20px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 0 12px rgba(0, 0, 0, 0.25);
  transition: color 0.35s var(--ease), text-shadow 0.35s var(--ease);
}
.nav__link .caret { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45)); }
.nav__link::after { /* understregning ved hover */
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: width 0.3s var(--ease);
}
.nav__link:hover::after, .nav__item--drop.is-open .nav__link::after { width: 100%; }
.nav__link .caret { width: 7px; height: 4px; margin-top: 2px; overflow: visible; }
.nav__link--book { color: var(--green) !important; gap: 4px; }
.nav__link--book .ic { width: 15px; height: 15px; }

.nav__menu {
  position: absolute;
  z-index: 2; /* over den hvide streg under menuen */
  top: calc(100% + 10px);
  left: -29px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 250px;
  padding: 8px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav__menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-family: var(--font-inter);
  color: #111;
  transition: background-color 0.2s var(--ease);
}
.nav__opt-title { display: block; font-weight: 500; font-size: 15px; line-height: 1.35; }
.nav__opt-desc { display: block; margin-top: 2px; font-weight: 400; font-size: 12.5px; line-height: 1.35; color: #6b6b6b; }
.nav__menu a:hover, .nav__menu a:focus-visible { background: #e9fbf1; outline: none; }
.nav__menu a:hover .nav__opt-title, .nav__menu a:focus-visible .nav__opt-title { color: #00894a; }
.nav__menu a[aria-current="page"] { background: #f3f3f3; }
.nav__item--drop.is-current .nav__link::after { width: 100%; }
.nav__item--drop.is-open .nav__menu,
.nav__item--drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) {
  .nav__item--drop:hover .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__item--drop:hover .nav__link::after { width: 100%; }
}

.lang { margin-left: 35px; }
.lang__current img, .lang__opt img {
  width: 38px; height: 25px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
}
.lang__menu {
  position: absolute;
  z-index: 2;
  top: calc(100% + 8px);
  right: -6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px;
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), visibility 0.2s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; }

.nav__toggle { display: none; }

/* Header efter scroll (og på sider uden mørk hero) */
.is-scrolled .nav::before { opacity: 1; }
.is-scrolled .nav::after { opacity: 0; }
.is-scrolled .logo--light { opacity: 0; }
.is-scrolled .logo--dark { opacity: 1; }
.is-scrolled .nav__link { color: var(--ink); text-shadow: none; }
.is-scrolled .nav__link .caret { filter: none; }
.is-scrolled .nav__link::after { background: #d4d4d4; box-shadow: none; }
.is-scrolled .nav__sep { background: #d1d1d1; box-shadow: none; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  max-height: 1200px;
  overflow: hidden;
  background: var(--hero-bg);
  box-shadow: var(--shadow-card);
}
.hero__media, .hero .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after { /* let mørk bund så teksten altid kan læses */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}
.hero__content {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 30px;
  bottom: 30px;
}
.hero__title { font-weight: 400; }
.hero__link { display: inline-block; max-width: 700px; }
.hero__swap {
  position: relative;
  display: block;
  overflow: hidden;
  height: 102px;
}
.hero__word, .hero__book {
  display: block;
  font-family: var(--font-display);
  font-size: 85px;
  line-height: 102px;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.45s var(--ease);
}
.hero__book { position: absolute; top: 0; left: 0; transform: translateX(-110%); }
.hero__link:hover .hero__word, .hero__link:focus-visible .hero__word { transform: translateX(110%); }
.hero__link:hover .hero__book, .hero__link:focus-visible .hero__book { transform: none; }
.hero__accent {
  display: block;
  font-family: var(--font-display);
  font-size: 85px;
  line-height: 85px;
  letter-spacing: 0.04em;
  color: var(--green);
  text-transform: uppercase;
}
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 16px; padding: 0 0 2px; }
.hero__rating, .hero__address {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-inter-display);
  font-size: 15px;
  line-height: 18px;
}
.hero__rating { color: var(--green); }
.hero__address { color: #fff; font-size: 14px; }
.hero__address .ic { color: #fff; }
.hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 8px;
  width: 32px;
  height: 32px;
  margin-left: -16px;
  color: #fff;
  animation: bob 1.6s var(--ease) infinite alternate;
}
.hero__scroll .ic { width: 32px; height: 32px; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(10px); } }

.hero--slides .slide { opacity: 0; transition: opacity 1s var(--ease); }
.hero--slides .slide.is-active { opacity: 1; }
.hero__dots {
  position: absolute;
  z-index: 3;
  right: 30px;
  bottom: 40px;
  display: flex;
  gap: 8px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); transition: background 0.3s; }
.dot.is-active { background: #fff; }

/* ---------------------------------------------------------------- fælles */
.divider { height: 41px; display: flex; align-items: center; padding: 0 86px; background: var(--cream); }
.divider span { display: block; width: 100%; height: 1px; background: var(--line); }

.center-text { max-width: 720px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 85px;
  line-height: 1.2;
  color: var(--black);
}

.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .reviews__track, .hero__scroll { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- forside */
.book {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1108px;
  margin: 0 auto;
  padding: 100px 0 50px;
  min-height: 470px;
}
.book__text { max-width: 615px; padding-top: 24px; }
.book__text p { max-width: 451px; margin: 12px 0 31px; font-size: 16px; line-height: 1.6; letter-spacing: -0.02em; color: rgba(0, 0, 0, 0.8); }
.news {
  flex: none;
  width: 450px;
  min-height: 320px;
  padding: 14px 45px 30px;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--alert);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.02em;
}
.news__title {
  font-size: 20px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  padding-bottom: 4px;
  margin: 0 5px 28px;
  border-bottom: 1px solid rgba(13, 13, 13, 0.49);
}
.news__body p { margin: 0; }

.intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 100px 40px 70px;
  min-height: 550px;
}
.intro__text { width: 418px; }
.intro__text h2 {
  font-family: var(--font-inter-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.intro__text p { margin: 9px 0 32px; font-size: 16px; line-height: 1.6; letter-spacing: -0.02em; max-width: 411px; }
.intro__tiles { display: flex; gap: 34px; align-items: flex-start; }
.tile { display: block; width: 197px; padding-top: 35px; }
.tile--2 { padding-top: 0; }
.tile__img { display: block; height: 264px; overflow: hidden; box-shadow: var(--shadow-card); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.05); }
.tile__label { display: block; margin-top: 10px; font-weight: 300; font-size: 15px; line-height: 18px; letter-spacing: 0.04em; }
.tile__more { display: block; font-weight: 300; font-size: 10px; line-height: 12px; letter-spacing: 0.04em; color: rgba(130, 129, 129, 0.67); }

.facilities-teaser { padding: 87px 0 43px; }
.facilities-teaser h2 {
  font-family: var(--font-inter-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.6;
  letter-spacing: -0.02em;
}
.facilities-teaser p {
  max-width: 715px;
  margin: 6px 0 40px;
  font-family: var(--font-inter-display);
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.02em;
}
.marquee { position: relative; margin-top: 45px; overflow: hidden; }
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 101px;
  z-index: 1;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0)); }
.marquee::after { right: 0; background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0)); }
.marquee__track { display: flex; gap: 20px; width: max-content; animation: scroll-x 40s linear infinite; }
.marquee__item { margin: 0; width: 500px; height: 325px; border-radius: 8px; overflow: hidden; flex: none; }
.marquee__item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 10px)); } }

.faq { padding: 50px 40px 50px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25); position: relative; }
.faq__icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 39px;
  background: #e0e0e0;
  box-shadow: var(--shadow-sm);
}
.faq__icon .ic { width: 36px; height: 36px; }
.faq__title { margin-top: 20px; font-family: var(--font-inter-display); font-weight: 400; font-size: 20px; line-height: 1.2; }
.faq__intro { max-width: 690px; margin-top: 20px; text-align: center; font-family: var(--font-inter-display); font-weight: 300; font-size: 18px; line-height: 1.2; }
.faq__card {
  width: 100%;
  max-width: 1038px;
  margin-top: 55px;
  padding: 40px;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.faq__item { border-radius: 10px; background: #eee; overflow: hidden; }
.faq__item summary {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 50px;
  padding: 12px 20px 12px 13px;
  font-family: var(--font-inter-var);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 14px; height: 14px; flex: none; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; background: #999; border-radius: 1px; transition: transform 0.3s var(--ease); }
.faq__plus::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq__plus::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq__item[open] .faq__plus::after { transform: rotate(90deg); }
.faq__answer {
  padding: 0 20px 16px 40px;
  font-family: var(--font-inter-var);
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #999;
}

.location { padding-top: 70px; position: relative; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25); }
.location__title { font-family: var(--font-inter-display); font-weight: 700; font-size: 55px; line-height: 1.6; letter-spacing: -0.02em; }
.location__text { max-width: 700px; margin-top: 5px; font-family: var(--font-inter-display); font-size: 22px; line-height: 1.6; letter-spacing: -0.02em; font-weight: 400; }
.location__map { margin-top: 70px; height: 475px; overflow: hidden; }
.location__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.location .divider { margin-top: 50px; }

.reviews { height: 570px; overflow: hidden; display: flex; align-items: center; padding-bottom: 30px; }
.reviews__track { display: flex; gap: 20px; width: max-content; padding: 0 10px; animation: scroll-x 60s linear infinite; }
.reviews:hover .reviews__track { animation-play-state: paused; }
.review {
  width: 280px;
  height: 436px;
  flex: none;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.review__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.stars { color: #fbbc04; font-family: sans-serif; font-size: 16px; letter-spacing: 2px; line-height: 22px; }
.review__text {
  flex: 1;
  overflow: hidden;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 15;
  -webkit-box-orient: vertical;
}
.review__author { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.review__author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* ---------------------------------------------------------------- undersider */
.plain { padding: 50px 40px; background: var(--cream); }
.h-xl { font-family: var(--font-inter); font-weight: 700; font-size: 56px; line-height: 1.2; }
.h-lg { font-family: var(--font-inter); font-weight: 500; font-size: 40px; line-height: 1.2; }
.lead { margin: 10px 0 36px; font-weight: 300; font-size: 20px; line-height: 1.2; color: rgba(0, 0, 0, 0.8); }
.lead--narrow { max-width: 576px; color: #333131; margin-bottom: 0; }
.plain--map { padding-bottom: 70px; }
.site-map {
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 70px auto 0;
  border-radius: 28px;
  box-shadow: 1px 2px 3px 2px rgba(0, 0, 0, 0.25);
  aspect-ratio: 900 / 415;
  object-fit: cover;
}

.cta {
  position: relative;
  overflow: hidden;
  min-height: 547px;
  padding: 50px 40px 0;
  background: linear-gradient(180deg, var(--cream) 32%, var(--green-soft) 116%);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.cta__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-family: var(--font-display); font-weight: 400; font-size: 100px; line-height: 1.2; }
.cta__text { max-width: 654px; margin: 13px 0 14px; font-size: 18px; line-height: 1.6; letter-spacing: -0.02em; color: rgba(0, 0, 0, 0.8); }
.cta__arrows { position: absolute; left: 50%; top: 0; width: 0; height: 100%; color: var(--ink); }
.cta__arrow { position: absolute; display: block; }
.cta__arrow .ic { width: 100%; height: 100%; }
.cta__arrow--1 { width: 140px; height: 140px; left: -72px;  top: 355px; transform: rotate(22deg);  --sw: 1; }
.cta__arrow--2 { width: 100px; height: 100px; left: -196px; top: 403px; transform: rotate(55deg);  --sw: 1; }
.cta__arrow--3 { width: 90px;  height: 90px;  left: 65px;   top: 382px; transform: rotate(-30deg); --sw: 1; }
.cta__arrow--4 { width: 66px;  height: 66px;  left: 133px;  top: 285px; transform: rotate(255deg); --sw: 1.5; }
.cta__arrow--5 { width: 54px;  height: 54px;  left: -169px; top: 315px; transform: rotate(83deg);  --sw: 1.5; }
.cta__arrow--6 { width: 140px; height: 140px; left: 93px;   top: 364px; transform: rotate(401deg); --sw: 1; }

/* Faciliteter */
.fac {
  display: grid;
  grid-template-columns: 573px 573px;
  justify-content: center;
  align-items: center;
  min-height: 720px;
  padding: 60px 40px;
  background: var(--cream);
}
.fac__text { padding: 0 73px 0 80px; }
.fac--flip .fac__text { order: 2; }
.fac__text h2 {
  font-family: var(--font-inter-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.6;
  letter-spacing: -0.02em;
}
.fac__text p {
  margin-top: 10px;
  font-family: var(--font-inter-display);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.02em;
}
.fac__icons { display: flex; gap: 50px; margin-top: 24px; }
.fac__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 30px;
  background: #f2f2f2;
  box-shadow: var(--shadow-sm);
}
.fac__icon .ic { width: 40px; height: 40px; }
/* Info-boble ved ikonerne (som originalen: vises ved hover, fokus eller tryk) */
button.fac__icon {
  position: relative;
  padding: 0;
  border: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
button.fac__icon:focus-visible { outline: 2px solid rgb(0, 157, 255); outline-offset: 3px; }
.fac__tip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 20;
  width: 300px;
  max-width: calc(100vw - 40px);
  padding: 15px 30px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  font-family: var(--font-inter-display);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  text-align: left;
  color: #000;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(calc(-50% + var(--tip-shift, 0px)), -4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
button.fac__icon.is-open, button.fac__icon:focus-visible { background: #fff; color: rgb(0, 157, 255); }
button.fac__icon.is-open .fac__tip, button.fac__icon:focus-visible .fac__tip {
  opacity: 1; visibility: visible; transform: translate(calc(-50% + var(--tip-shift, 0px)), 0);
}
@media (hover: hover) {
  button.fac__icon:hover { background: #fff; color: rgb(0, 157, 255); }
  button.fac__icon:hover .fac__tip { opacity: 1; visibility: visible; transform: translate(calc(-50% + var(--tip-shift, 0px)), 0); }
}
.fac__media { height: 375px; border-radius: 15px; box-shadow: var(--shadow-sm); }

.slider { position: relative; height: 100%; border-radius: 15px; overflow: hidden; background: #000; }
.slider .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease); }
.slider .slide.is-active { opacity: 1; }
.slider__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px; height: 40px;
  margin-top: -20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #000;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.slider__btn:hover { opacity: 1; }
.slider__btn img { width: 40px; height: 40px; max-width: none; }
.slider__btn--prev { left: 20px; }
.slider__btn--next { right: 20px; }

/* Informationer */
.info-group { padding: 80px 40px 50px; background: var(--cream); }
.info-group + .divider + .info-group { padding-top: 40px; }
.info-group .sub { max-width: 720px; margin-top: 10px; font-size: 18px; line-height: 1.2; color: var(--muted); }
.info-grid { display: grid; grid-template-columns: repeat(2, 470px); justify-content: center; gap: 80px; margin-top: 64px; }
.info-card {
  min-height: 370px;
  padding: 20px;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.info-card__head { display: flex; align-items: center; gap: 10px; }
.info-card__head h3 { font-weight: 400; font-size: 18px; line-height: 1.2; }
.info-card__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 5px; background: rgba(0, 222, 115, 0.3); color: #004d28; }
.info-card__icon .ic { width: 30px; height: 30px; }
.info-card__intro { margin-top: 10px; font-size: 14px; line-height: 1.2; }
.info-card__list { margin-top: 20px; display: flex; flex-direction: column; gap: 34px; }
.info-card__list li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.2; color: var(--muted); }
.info-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 10px; height: 10px;
  border-radius: 5px;
  background: rgba(118, 204, 120, 0.6);
}
.info-card__list li:first-child { font-weight: 500; }
.info-card__list li:first-child::before { background: rgba(0, 255, 4, 0.6); box-shadow: 0 1px 2px var(--green); }

/* Privatlivspolitik */
.page-privacy main { background: #fff; box-shadow: none; min-height: 100vh; }
.legal { padding: 60px 20px 80px; }
.legal__logo { display: block; width: 116px; margin: 0 auto; }
.legal__hint { margin: 24px auto 0; text-align: center; font-family: var(--font-inter-var); font-size: 15px; line-height: 1.3; color: #777; }
.legal__body { margin-top: 68px; max-width: 600px; }
.legal__body section + section { margin-top: 95px; }
.legal__body h1, .legal__body h2 { font-family: var(--font-inter-var); font-weight: 400; font-size: 15px; line-height: 1; color: #000; margin-bottom: 20px; }
.legal__body p { font-family: var(--font-inter-var); font-size: 15px; line-height: 1.3; color: #777; }
.legal__body p + p { margin-top: 20px; }
.legal__body a { color: #000; text-decoration: underline; }

/* ---------------------------------------------------------------- footer */
.footer-spacer { height: var(--footer-h); }
.site-footer {
  position: fixed;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  height: var(--footer-h);
  background: var(--cream);
  overflow: hidden;
}
.site-footer::before { /* svagt skraveret mønster som originalen */
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/img/zkZcqLYKrbf3IcoLGmkQF4odXvY.svg") repeat;
  background-size: 126px;
  opacity: 0.015;
  pointer-events: none;
}
.site-footer__inner { position: relative; height: 100%; max-width: 1440px; margin: 0 auto; }
.credit {
  position: absolute;
  top: 12px;
  right: 13px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-inter-display);
  font-weight: 300;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.1em;
}
.credit a { font-family: var(--font-inter); font-weight: 400; font-size: 8px; letter-spacing: 0; }
.footer__center { position: absolute; left: 50%; top: 10px; width: 380px; margin-left: -190px; display: flex; flex-direction: column; align-items: center; }
.footer__logo { width: 380px; height: 325px; object-fit: contain; }
.footer__center .btn { margin-top: 30px; }
.footer__title {
  position: relative;
  margin-top: 30px;
  font-family: var(--font-inter-display);
  font-weight: 700;
  font-size: 25px;
  line-height: 30px;
}
.footer__title::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 190px; height: 2px; margin-left: -95px; background: #000; }
.footer__contact { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.footer__contact a, .footer__cvr {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-inter-display);
  font-size: 20px;
  line-height: 24px;
  color: rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}
.footer__contact a:hover span { text-decoration: underline; }
.footer__reviews { margin-top: 13px; display: block; }
.footer__legal { position: absolute; left: 100px; top: 537px; display: flex; flex-direction: column; gap: 10px; }
.footer__legal a, .footer__copy {
  font-family: var(--font-inter-display);
  font-weight: 300;
  font-size: 18px;
  line-height: 22px;
  color: rgba(0, 0, 0, 0.8);
}
.footer__legal a:hover { color: #000; text-decoration: underline; }
.footer__copy { display: flex; align-items: center; gap: 5px; margin-left: -9px; color: #000; }
.footer__copy small { font-size: 12px; }

/* ---------------------------------------------------------------- cookie-banner */
.cookie {
  position: fixed;
  z-index: 60;
  left: 10px; right: 10px; bottom: 10px;
  min-height: 90px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 40px 15px 20px;
  border-radius: 5px;
  background: rgba(252, 247, 247, 0.57);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  box-shadow: var(--shadow-sm);
  animation: cookie-in 0.5s var(--ease);
}
@keyframes cookie-in { from { opacity: 0; transform: translateY(20px); } }
.cookie__icon { width: 39px; height: 39px; color: var(--green); }
.cookie__text { flex: 1; font-size: 16px; line-height: 1.2; color: var(--muted); }
.cookie__title { font-weight: 300; font-size: 20px; color: #000; margin-bottom: 5px; }
.cookie__actions { display: flex; gap: 20px; }
.cookie__btn { height: 49px; padding: 0 20px; border-radius: 5px; background: var(--cream); font-size: 15px; color: #000; transition: filter 0.2s; }
.cookie__btn:hover { filter: brightness(0.96); }
.cookie__btn--accept { background: var(--green); color: #fff; }

/* ================================================================ TABLET */
@media (max-width: 1199px) {
  .nav { padding: 0 30px; }
  .nav__sep { margin: 0 12px; }
  .lang { margin-left: 20px; }
  .book { padding: 90px 40px 50px; }
  .book .display { font-size: 64px; }
  .news { width: 400px; padding: 14px 30px 30px; }
  .intro { flex-direction: column; align-items: center; text-align: center; }
  .intro__text { width: auto; max-width: 600px; display: flex; flex-direction: column; align-items: center; }
  .intro__tiles { margin-top: 20px; }
  .fac { grid-template-columns: 1fr 1fr; gap: 30px; }
  .fac__text { padding: 0 20px; }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 470px)); gap: 40px; }
  .cta__title { font-size: 80px; }
  .faq__card { padding: 30px; }
}

/* ================================================================ MOBIL */
@media (max-width: 809px) {
  :root { --footer-h: 760px; }

  /* menu */
  .site-header, .nav { height: 64px; }
  .nav { padding: 0 20px; justify-content: center; }
  .nav::before { inset: 0 0 auto 0; height: 64px; border-radius: 0; }
  .nav__logo { width: 60px; height: 54px; }
  .logo--dark { width: 116px; left: -28px !important; }
  .nav::after { bottom: 0; }
  .nav__toggle {
    display: grid;
    position: absolute;
    right: 15px; top: 10px;
    width: 44px; height: 44px;
    place-content: center;
    gap: 9px;
  }
  .nav__toggle span { display: block; width: 20px; height: 2px; background: #999; transition: transform 0.3s var(--ease); }
  .nav-open .nav__toggle span:first-child { transform: translateY(5.5px) rotate(45deg); }
  .nav-open .nav__toggle span:last-child { transform: translateY(-5.5px) rotate(-45deg); }
  .nav__list {
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px 20px 30px;
    background: rgba(253, 249, 249, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.12);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav-open .nav__list { opacity: 1; visibility: visible; transform: none; }
  .nav-open .nav::before { opacity: 1; }
  .nav-open .logo--light { opacity: 0; }
  .nav-open .logo--dark { opacity: 1; }
  .nav__sep { width: 1px; height: 25px; margin: 0; background: #d1d1d1; box-shadow: none; }
  .nav__link { color: var(--ink) !important; padding: 0; text-shadow: none; }
  .nav__link .caret { filter: none; }
  .nav__menu {
    position: static;
    padding: 6px 0 4px 12px;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    display: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav__item--drop.is-open .nav__menu { display: flex; }
  .nav__menu { min-width: 0; }
  .nav__menu a { padding: 4px 0; background: none !important; }
  .nav__opt-desc { display: none; }
  .lang { margin: 14px 0 0; }
  .lang__menu { position: static; flex-direction: row; background: none; box-shadow: none; padding: 8px 0 0; }

  /* hero */
  .hero { min-height: 560px; }
  .hero__content { left: 20px; right: 20px; bottom: 60px; }
  .hero__swap { height: 58px; }
  .hero__word, .hero__book { font-size: 48px; line-height: 58px; }
  .hero__accent { font-size: 48px; line-height: 48px; }
  .hero__meta { flex-direction: column; gap: 8px; }
  .hero__dots { right: 20px; bottom: 24px; }

  .display { font-size: 44px; }
  .book { flex-direction: column; align-items: center; padding: 30px 20px 40px; text-align: center; }
  .book__text { order: 2; display: flex; flex-direction: column; align-items: center; padding: 0; }
  .book .display { font-size: 44px; }
  .news { order: 1; width: 100%; max-width: 400px; padding: 14px 24px 24px; }
  .book__text p { font-weight: 400; }
  .book__text p strong { font-weight: 400; }

  .intro { padding: 60px 20px 40px; gap: 20px; }
  .intro__text h2 { font-size: 34px; }
  .intro__tiles { flex-direction: column; gap: 30px; width: 100%; max-width: 350px; }
  .tile, .tile--2 { width: 100%; padding: 0; }
  .tile__img { height: 260px; }

  .facilities-teaser { padding: 50px 20px 30px; }
  .facilities-teaser h2 { font-size: 32px; }
  .facilities-teaser p { font-size: 16px; }
  .marquee { margin: 30px -20px 0; }
  .marquee__item { width: 300px; height: 195px; }
  .marquee::before, .marquee::after { width: 40px; }

  .faq { padding: 40px 15px; }
  .faq__intro { font-size: 16px; }
  .faq__card { padding: 15px; margin-top: 30px; }
  .faq__item summary { font-size: 14px; }

  .location { padding-top: 50px; }
  .location .center-text { padding: 0 20px; }
  .location__title { font-size: 34px; line-height: 1.3; }
  .location__text { font-size: 18px; }
  .location__map { margin-top: 40px; height: 380px; }
  .reviews { height: 520px; }

  .plain { padding: 40px 20px; }
  .h-xl { font-size: 38px; }
  .h-lg { font-size: 32px; }
  .lead { font-size: 18px; }
  .site-map { margin-top: 40px; border-radius: 16px; }

  .cta { padding: 50px 20px 0; min-height: 520px; }
  .cta__title { font-size: 52px; }
  .cta__text { font-size: 16px; }
  .cta__arrows { transform: scale(0.75); transform-origin: 0 80%; }

  .fac { grid-template-columns: 1fr; gap: 30px; padding: 50px 20px; min-height: 0; }
  .fac--flip .fac__text { order: 0; }
  .fac__text { padding: 0; }
  .fac__text h2 { font-size: 30px; line-height: 1.3; }
  .fac__text p { font-size: 16px; }
  .fac__icons { gap: 24px; }
  .fac__media { height: auto; aspect-ratio: 573 / 375; }

  .info-group { padding: 50px 20px 40px; }
  .info-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .info-card { min-height: 0; }
  .info-card__list { gap: 18px; }

  .divider { padding: 0 15px; }

  .footer__center { top: 30px; width: 100%; left: 0; margin-left: 0; padding: 0 20px; }
  .footer__logo { width: 200px; height: auto; }
  .footer__contact a, .footer__cvr { font-size: 16px; }
  .footer__legal { left: 0; right: 0; top: auto; bottom: 30px; align-items: center; gap: 4px; }
  .footer__legal a, .footer__copy { font-size: 14px; }
  .footer__copy { margin-left: 0; }

  .cookie { flex-wrap: wrap; left: auto; width: calc(100% - 20px); max-width: 360px; padding: 12px 15px; }
  .cookie__icon { display: none; }
  .cookie__text { font-size: 14px; flex-basis: 100%; }
  .cookie__actions { width: 100%; justify-content: flex-end; gap: 10px; margin-top: 8px; }
  .cookie__btn { height: 40px; font-size: 14px; }
}
