/* ===== KGE · / forside ===== */
:root {
  --ink: #0a1628;
  --navy: #0a1e3c;
  --teal: #3AABB0;
  --teal-dark: #0D4F66;
  --teal-pale: #edf7f8;
  --off-white: #f7f5f0;
  --text: #0a1628;
  --text-mid: #374F66;
  --text-lt: #4B5563;
  --border: #eeeeee;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 100px;
  --sh-sm: 0 2px 12px rgba(14,28,47,.06);
  --sh: 0 8px 32px rgba(14,28,47,.10);
  --sh-lg: 0 24px 70px rgba(14,28,47,.16);
  --container: 1240px;
  --py: 110px;
}

body.page-template-hjem,
.kge-home {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 20px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.kge-home * { box-sizing: border-box; }
.kge-home img { max-width: 100%; height: auto; display: block; }

.kge-home h1, .kge-home h2, .kge-home h3, .kge-home h4 {
  font-family: "Rethink Sans", system-ui, sans-serif;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin: 0;
}
.kge-home h1 { font-size: clamp(40px, 5.8vw, 76px); line-height: 1.02; letter-spacing: -0.04em; }
.kge-home h2 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.06; }
.kge-home h3 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.15; }
.kge-home p { margin: 0 0 1em; color: var(--text); }
.kge-home a { color: inherit; text-decoration: none; }

.kge-home__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 52px);
}

.kge-home__eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-pale);
  border: 1px solid rgba(58,171,176,0.25);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}

.kge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  min-height: 48px;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.kge-btn--primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(10,30,60,0.18);
  border: 1.5px solid transparent;
  box-sizing: border-box;
}
.kge-btn--ghost { box-sizing: border-box; }
.kge-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(10,30,60,0.25); }
.kge-btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.kge-btn--ghost:hover { background: var(--ink); color: #fff; }

.kge-home__section { padding: var(--py) 0; }
.kge-home__section--alt { background: var(--off-white); }
.kge-home__header { max-width: 760px; margin-bottom: 60px; }
.kge-home .kge-home__lead { font-size: 20px; line-height: 1.5; color: var(--text-mid); margin-top: 32px !important; max-width: 58ch; }
.kge-home .kge-home__header--center .kge-home__lead { margin-left: auto; margin-right: auto; max-width: 42ch; }
.kge-home .kge-home__lead a { display: block; margin-top: 4px; }

/* HERO */
.kge-home__hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 180px 0 60px;
  border-bottom: 1px solid var(--border);
  background: #0a1e3c url("hero-mobile.webp") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.kge-home__hero > .kge-home__container { width: 100%; }
.kge-home__hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: none;
  pointer-events: none;
  overflow: hidden;
}
.kge-home__hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}
.kge-home__hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
@media (min-width: 1025px) {
  .kge-home__hero { background-image: none; }
  .kge-home__hero-video { display: block; }
}
.kge-home__hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(105deg,
    rgba(10,22,40,0.82) 0%,
    rgba(10,22,40,0.62) 45%,
    rgba(10,22,40,0.35) 90%);
}
@media (max-width: 1024px) {
  .kge-home__hero-overlay {
    background: linear-gradient(180deg,
      rgba(10,22,40,0.72) 0%,
      rgba(10,22,40,0.62) 60%,
      rgba(10,22,40,0.78) 100%);
  }
}
.kge-home__hero .kge-home__container { position: relative; z-index: 1; }
.kge-home__hero h1 { color: #fff; }
.kge-home__hero .kge-home__lead { color: rgba(255,255,255,0.92); }
.kge-home__hero .kge-home__eyebrow {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border-color: rgba(255,255,255,0.30);
}
.kge-home__hero .kge-home__hero-meta { color: rgba(255,255,255,0.75); }
.kge-home__hero .kge-home__hero-meta span + span::before { color: var(--teal); }
.kge-home__hero .kge-home__hero-ctas .kge-btn--primary {
  background: var(--teal-dark) !important;
  box-shadow: 0 4px 24px rgba(13,79,102,0.40) !important;
}
.kge-home__hero .kge-btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  background: transparent;
}
.kge-home__hero .kge-btn--ghost:hover { background: #fff; color: var(--ink); }
.kge-home__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  gap: 64px;
  align-items: center;
}
.kge-home__hero-copy h1 { max-width: 640px; }
.kge-home__hero-copy .kge-home__lead { max-width: 580px; margin-top: 28px; }
@media (max-width: 1024px) {
  .kge-home__eyebrow--desktop { display: none !important; }
}

.kge-home .kge-home__hero-sub {
  font-family: "Rethink Sans", sans-serif;
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.35;
  color: #ffffff !important;
  opacity: 0.92;
  margin: 18px 0 0;
  max-width: 560px;
  letter-spacing: -0.01em;
}
.kge-home__hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.kge-home__hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
  font-size: 14px;
  color: var(--text-mid);
}
.kge-home__hero-meta span { display: inline-flex; align-items: center; }
.kge-home__hero-meta span + span::before {
  content: "·";
  margin-right: 24px;
  color: var(--teal);
}

.kge-home__card {
  background: #fff;
  border-radius: 22px;
  padding: 40px 36px;
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
  text-align: center;
}
.kge-home__card-list { display: inline-block; text-align: left; margin-left: auto; margin-right: auto; }
.kge-home__card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.kge-home__card-title {
  font-family: "Rethink Sans", sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.15;
}
.kge-home__card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.kge-home__card-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--text);
  line-height: 1.45;
}
.kge-home__card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-pale);
  color: var(--teal-dark);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}
.kge-home__card-cta { width: 100%; }
.kge-home__card-sub {
  text-align: center;
  font-size: 14px;
  color: var(--text-mid);
  margin-top: 14px;
}
.kge-home__card-sub a { color: var(--teal-dark); font-weight: 700; }

/* PROBLEMS */
.kge-home__problems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.kge-home__problem {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
}
.kge-home__problem-num {
  font-family: "Rethink Sans", sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--teal-dark);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.kge-home__problem h3 { font-size: 21px; margin-bottom: 12px; }
.kge-home__problem p { color: var(--text-mid); font-size: 16px; line-height: 1.55; margin: 0; }

/* STEPS */
.kge-home__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.kge-home__step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 36px;
}
.kge-home__step-num {
  font-family: "Rethink Sans", sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--teal-dark);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.kge-home__step h3 { font-size: 23px; margin-bottom: 12px; }
.kge-home__step p { color: var(--text-mid); font-size: 16px; line-height: 1.6; margin: 0; }

/* BEHANDLINGER CARDS */
.kge-home__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.kge-home__bcard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  color: var(--text);
}
.kge-home__bcard:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.kge-home__bcard h3 { font-size: 22px; margin-bottom: 12px; }
.kge-home__bcard p { color: var(--text-mid); font-size: 16px; line-height: 1.55; }
.kge-home__bcard-link {
  margin-top: auto;
  padding-top: 16px;
  font-weight: 600;
  color: var(--teal-dark);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kge-home__bcard-link::after { content: "→"; transition: transform .2s ease; }
.kge-home__bcard:hover .kge-home__bcard-link::after { transform: translateX(4px); }

/* TEAM */
.kge-home__team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.kge-home__team-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 44px;
  box-shadow: var(--sh);
  border: 1px solid var(--border);
}
.kge-home__team-card h3 { margin-bottom: 6px; }
.kge-home__team-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.kge-home__team-card p { color: var(--text-mid); font-size: 16px; line-height: 1.6; }
.kge-home__team-card ul { padding-left: 0; list-style: none; margin: 20px 0 0; }
.kge-home__team-card ul li {
  font-size: 15px;
  color: var(--text-mid);
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}
.kge-home__team-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 14px; height: 2px;
  background: var(--teal-dark);
}

/* NOTLIST */
.kge-home__notlist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.kge-home__notlist-item {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
}
.kge-home__notlist-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kge-home__notlist-item h3::before {
  content: "✓";
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-pale);
  color: var(--teal-dark);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}
.kge-home__notlist-item p { color: var(--text-mid); font-size: 16px; line-height: 1.55; margin: 0; }

/* FINAL */
.kge-home__final {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 110px 0;
}
.kge-home__final h2 { color: #fff; }
.kge-home__final p { color: rgba(255,255,255,0.8); font-size: 20px; max-width: 560px; margin: 20px auto 36px; }
.kge-home__final .kge-btn,
.kge-home__final .kge-btn--primary {
  background: var(--teal-dark) !important;
  color: #ffffff !important;
}
/* Force any inherited dark text inside our buttons to white */
.kge-home .kge-btn--primary,
.kge-home .kge-btn--primary * { color: #ffffff !important; }
.kge-home__final-sub { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 20px; }
.kge-home__final-sub a { color: var(--teal); font-weight: 600; }

/* On the dark hero, force the header logo to render white */
/* White logo + white nav ONLY when sticky header is NOT in scrolled state.
   Elementor adds .elementor-sticky--effects to the sticky container when scrolled. */
body.home .elementor-sticky:not(.elementor-sticky--effects) .elementor-widget-image img,
body.page-id-472 .elementor-sticky:not(.elementor-sticky--effects) .elementor-widget-image img,
body.home .elementor-sticky:not(.elementor-sticky--effects) .elementor-widget-theme-site-logo img,
body.page-id-472 .elementor-sticky:not(.elementor-sticky--effects) .elementor-widget-theme-site-logo img {
  filter: brightness(0) invert(1);
  -webkit-filter: brightness(0) invert(1);
}
body.home .elementor-sticky:not(.elementor-sticky--effects) .elementor-nav-menu a,
body.page-id-472 .elementor-sticky:not(.elementor-sticky--effects) .elementor-nav-menu a {
  color: #ffffff !important;
}
body.home .elementor-sticky:not(.elementor-sticky--effects) a[href^="tel:"],
body.page-id-472 .elementor-sticky:not(.elementor-sticky--effects) a[href^="tel:"] {
  color: #ffffff !important;
  border-color: #ffffff !important;
  background: rgba(255,255,255,0.08) !important;
}
/* Inner padding on white sticky pill — symmetric edges, nav absolutely centered */
body.home .elementor-element.sticky-boks,
body.page-id-472 .elementor-element.sticky-boks {
  padding-left: 28px !important;
  padding-right: 28px !important;
  position: relative !important;
}
body.home .elementor-element.sticky-boks .elementor-widget-nav-menu,
body.page-id-472 .elementor-element.sticky-boks .elementor-widget-nav-menu {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  width: max-content !important;
  max-width: none !important;
}
body.home .elementor-element.sticky-boks .elementor-widget-nav-menu .elementor-nav-menu,
body.page-id-472 .elementor-element.sticky-boks .elementor-widget-nav-menu .elementor-nav-menu {
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}
/* Equalize phone + BOOK TID button sizes in header */
body.home .elementor-sticky a[href^="tel:"],
body.page-id-472 .elementor-sticky a[href^="tel:"],
body.home .elementor-sticky .elementor-button[href*="easypractice"],
body.home .elementor-sticky a.elementor-button {
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 22px !important;
  font-size: 14px !important;
  line-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}
body.home .elementor-sticky:not(.elementor-sticky--effects) a[href^="tel:"] svg,
body.home .elementor-sticky:not(.elementor-sticky--effects) a[href^="tel:"] i,
body.page-id-472 .elementor-sticky:not(.elementor-sticky--effects) a[href^="tel:"] svg,
body.page-id-472 .elementor-sticky:not(.elementor-sticky--effects) a[href^="tel:"] i {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* HARD UNDO: when the outer sticky wrapper has --effects (scrolled state),
   revert all white overrides on its descendants (handles nested .elementor-sticky). */
body.home .elementor-sticky--effects .elementor-widget-image img,
body.home .elementor-sticky--effects .elementor-widget-theme-site-logo img,
body.page-id-472 .elementor-sticky--effects .elementor-widget-image img,
body.page-id-472 .elementor-sticky--effects .elementor-widget-theme-site-logo img {
  filter: none !important;
  -webkit-filter: none !important;
}
body.home .elementor-sticky--effects .elementor-nav-menu a,
body.home .elementor-sticky--effects .elementor-nav-menu a.elementor-item,
body.home .elementor-sticky--effects .elementor-nav-menu li a,
body.home .elementor-sticky--effects .elementor-nav-menu li.menu-item a,
body.page-id-472 .elementor-sticky--effects .elementor-nav-menu a,
body.page-id-472 .elementor-sticky--effects .elementor-nav-menu a.elementor-item,
body.page-id-472 .elementor-sticky--effects .elementor-nav-menu li a {
  color: #0a1628 !important;
  fill: #0a1628 !important;
}
body.home .elementor-sticky--effects .elementor-nav-menu .sub-arrow,
body.home .elementor-sticky--effects .elementor-nav-menu .sub-arrow * {
  color: #0a1628 !important;
  fill: #0a1628 !important;
}
/* Non-scrolled (over hero video): white arrows */
body.home .elementor-nav-menu .sub-arrow,
body.home .elementor-nav-menu .sub-arrow *,
body.page-id-472 .elementor-nav-menu .sub-arrow,
body.page-id-472 .elementor-nav-menu .sub-arrow * {
  color: #ffffff !important;
  fill: #ffffff !important;
}
body.home .elementor-sticky.elementor-sticky--effects a[href^="tel:"],
body.home .elementor-sticky--effects .elementor-sticky a[href^="tel:"],
body.home .elementor-sticky--effects a[href^="tel:"],
body.page-id-472 .elementor-sticky.elementor-sticky--effects a[href^="tel:"],
body.page-id-472 .elementor-sticky--effects .elementor-sticky a[href^="tel:"],
body.page-id-472 .elementor-sticky--effects a[href^="tel:"] {
  color: #0D4F66 !important;
  border-color: #0D4F66 !important;
  background: transparent !important;
}
body.home .elementor-sticky--effects a[href^="tel:"] svg,
body.home .elementor-sticky--effects a[href^="tel:"] svg path,
body.home .elementor-sticky--effects a[href^="tel:"] i,
body.page-id-472 .elementor-sticky--effects a[href^="tel:"] svg,
body.page-id-472 .elementor-sticky--effects a[href^="tel:"] svg path,
body.page-id-472 .elementor-sticky--effects a[href^="tel:"] i {
  color: #0D4F66 !important;
  fill: #0D4F66 !important;
}

/* Hide stale Elementor footer location on this template — we inject our own footer in functions.php */
body.page-template-page-hjem .elementor-location-footer,
body.home .elementor-location-footer,
body.page-id-472 .elementor-location-footer { display: none !important; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .kge-home__hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .kge-home__hero-copy h1 { max-width: 100%; }
}
@media (max-width: 900px) {
  :root { --py: 64px; }
  .kge-home__hero { padding: 110px 0 72px; }
  .kge-home__problems,
  .kge-home__steps,
  .kge-home__cards,
  .kge-home__team,
  .kge-home__notlist { grid-template-columns: 1fr; gap: 18px; }
  .kge-home__team-card { padding: 32px; }
  .kge-home__card { padding: 32px 28px; }
  .kge-home__header { margin-bottom: 40px; }
  .kge-home__hero-ctas { flex-direction: column; align-items: stretch; }
  .kge-home__hero-ctas .kge-btn { width: 100%; }
  .kge-home__hero-meta { gap: 8px; }
  .kge-home__hero-meta span + span::before { display: none; }
}
@media (max-width: 480px) {
  .kge-home { font-size: 20px; }
}

/* PRIS & TILSKUD */
.kge-home__pris {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}
.kge-home__pris-card {
  background: #fff;
  border: 1px solid var(--border, #eee);
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 8px 32px rgba(14,28,47,.10);
  display: flex;
  flex-direction: column;
}
.kge-home__pris-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid #eee;
}
.kge-home__pris-row:first-of-type { border-top: none; padding-top: 0; }
.kge-home__pris-title {
  font-family: "Rethink Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #0a1628;
  margin-bottom: 4px;
}
.kge-home__pris-sub { font-size: 14px; color: #374F66; }
.kge-home__pris-price {
  font-family: "Rethink Sans", sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #0D4F66;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.kge-home__pris-cta { margin: 32px auto 0; align-self: center; color: #fff !important; }

.kge-home__tilskud { display: flex; flex-direction: column; gap: 16px; }
.kge-home__tilskud-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 28px 30px;
}
.kge-home__tilskud-item h3 {
  font-family: "Rethink Sans", sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: #0a1628;
  margin: 0 0 8px;
}
.kge-home__tilskud-item p { color: #374F66; font-size: 15.5px; line-height: 1.55; margin: 0; }

@media (max-width: 900px) {
  .kge-home__pris { grid-template-columns: 1fr; gap: 20px; }
  .kge-home__pris-card { padding: 32px 24px; }
  .kge-home__pris-row { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .kge-home__pris-card { text-align: center; }
  .kge-home__pris-head { align-items: center; }
}

/* BEHANDLINGER cards with image */
.kge-home__bcard {
  display: flex !important;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 2px 12px rgba(14,28,47,.05);
}
.kge-home__bcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(14,28,47,.12);
}
.kge-home__bcard-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #eef2f5;
}
.kge-home__bcard-body { padding: 28px 28px 32px; }
.kge-home__bcard-body h3 { margin: 0 0 10px; font-size: 21px; }
.kge-home__bcard-body p { color: var(--text-mid); font-size: 16px; line-height: 1.55; margin: 0 0 18px; }
.kge-home__bcard-link {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 0.02em;
}

/* TEAM photos */
.kge-home__team-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center top;
  border-radius: 18px;
  margin-bottom: 24px;
  background-color: #eef2f5;
}

/* Secondary text-button under primary CTA */
.kge-home button.kge-home__card-secondary,
.kge-home button.kge-home__final-secondary {
  display: inline-block !important;
  margin-top: 14px !important;
  background: none !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 4px 8px !important;
  font: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--teal-dark) !important;
  cursor: pointer;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  text-transform: none !important;
  letter-spacing: 0 !important;
  min-height: 0 !important;
  line-height: 1.4 !important;
}
.kge-home button.kge-home__final-secondary { color: #cfeef0 !important; }
.kge-home__card-secondary:hover,
.kge-home__final-secondary:hover { opacity: .85; }

/* Modal */
.kge-modal[hidden] { display: none; }
.kge-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.kge-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(10,30,60,0.55);
  backdrop-filter: blur(4px);
}
.kge-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 22px;
  max-width: 480px; width: 100%;
  padding: 40px 36px 32px;
  box-shadow: 0 30px 80px rgba(10,30,60,0.35);
  max-height: 90vh; overflow-y: auto;
}
.kge-modal button.kge-modal__close {
  position: absolute !important; top: 14px !important; right: 16px !important;
  background: none !important; background-color: transparent !important; border: 0 !important;
  box-shadow: none !important;
  font-size: 28px !important; line-height: 1 !important;
  color: #6b7280 !important; cursor: pointer;
  width: 36px !important; height: 36px !important; min-height: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  text-transform: none !important; letter-spacing: 0 !important;
}
.kge-modal__form label,
.kge-modal__form label span,
.kge-modal__form label em { text-transform: none !important; letter-spacing: 0 !important; }
.kge-modal__close:hover { background: #f3f4f6; color: #0a1628; }
.kge-modal__eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 8px;
}
.kge-modal__dialog h3 {
  font-family: "Rethink Sans", sans-serif;
  font-weight: 800; font-size: 22px;
  color: var(--ink); margin: 0 0 8px;
  line-height: 1.2;
}
.kge-modal__lead { font-size: 14px; color: var(--text-mid); margin: 0 0 22px; }
.kge-modal__form { display: grid; gap: 14px; }
.kge-modal__form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text); }
.kge-modal__form label em { font-style: normal; font-weight: 400; color: var(--text-mid); }
.kge-modal__form input,
.kge-modal__form textarea {
  font: inherit; font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #d6dce3;
  border-radius: 12px;
  background: #fff; color: var(--ink);
  width: 100%; box-sizing: border-box;
}
.kge-modal__form input:focus,
.kge-modal__form textarea:focus {
  outline: 0; border-color: var(--teal-dark);
  box-shadow: 0 0 0 3px rgba(13,79,102,.15);
}
.kge-modal__form textarea { resize: vertical; min-height: 96px; }
.kge-modal__form button[type="submit"] { margin-top: 6px; width: 100%; text-transform: none !important; letter-spacing: 0 !important; }
.kge-modal__fineprint { font-size: 12px; color: var(--text-mid); margin: 8px 0 0; text-align: center; }

/* Google reviews pill in hero */
.kge-home__google {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 100px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #0a1628;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
}
.kge-home__google:hover { background: #fff; }
.kge-home__google-g { flex: 0 0 auto; }
.kge-home__google-stars { color: #f5b400; letter-spacing: 1px; font-size: 15px; }
.kge-home__google-rating { font-weight: 700; color: #0a1628; }
.kge-home__google-sep { color: #6b7280; }
.kge-home__google-count { color: #374F66; }

/* Hero copy: center eyebrow + google + title + sub */
.kge-home__hero-copy { text-align: center; }
.kge-home__hero-toprow {
  display: inline-flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 22px;
}
.kge-home__hero-copy h1,
.kge-home__hero-copy .kge-home__hero-sub { text-align: center; }
.kge-home__hero-copy .kge-home__google { margin-top: 0; }

/* Unify all primary booking CTAs (header BOOK TID + card + final + modal submit) */
body.home .elementor-sticky a.elementor-button[href*="easypractice"],
body.page-id-472 .elementor-sticky a.elementor-button[href*="easypractice"],
body.home .elementor-sticky--effects a.elementor-button[href*="easypractice"],
.kge-home a.kge-btn--primary,
.kge-home button.kge-btn--primary,
.kge-modal__form button[type="submit"] {
  background: linear-gradient(135deg, #0a1e3c 0%, #0D4F66 100%) !important;
  background-color: #0a1e3c !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 100px !important;
  font-family: "DM Sans", system-ui, sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  padding: 16px 32px !important;
  min-height: 48px !important;
  line-height: 1.2 !important;
  box-shadow: 0 4px 20px rgba(10,30,60,0.18) !important;
}
/* Override the special header sizing to match brand pill (kept compact in scrolled nav) */
body.home .elementor-sticky a.elementor-button[href*="easypractice"],
body.page-id-472 .elementor-sticky a.elementor-button[href*="easypractice"] {
  font-size: 14px !important;
  padding: 0 22px !important;
  height: 44px !important;
  min-height: 44px !important;
  line-height: 44px !important;
}

/* Hero trust strip at bottom */
.kge-home__hero-trust {
  width: 100%;
  display: flex; justify-content: center;
  margin-top: 56px;
  position: relative; z-index: 2;
}
@media (max-width: 900px) {
  .kge-home__hero-trust { margin-top: 36px; }
}

/* Video player block (looping webm + click → YT lightbox) */
.kge-home__header--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 720px; }
.kge-home__videoplayer {
  position: relative; display: block;
  width: 100%; max-width: 1040px; margin: 48px auto 0;
  aspect-ratio: 16 / 9;
  border: 0; padding: 0;
  border-radius: 24px; overflow: hidden;
  background: #0a1e3c;
  cursor: pointer;
  box-shadow: 0 30px 80px rgba(10,30,60,0.25);
}
.kge-home__videoplayer-loop {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.kge-home__videoplayer-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.25) 100%);
  transition: background .25s ease;
}
.kge-home__videoplayer:hover .kge-home__videoplayer-play { background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%); }
.kge-home__videoplayer-play svg { filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4)); }

/* Testimonials */
.kge-home__testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
  margin-top: 48px;
}
.kge-home__t-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 32px;
  margin: 0;
  display: flex; flex-direction: column;
  box-shadow: 0 12px 40px rgba(14,28,47,.06);
}
.kge-home__t-stars { color: #f5b400; letter-spacing: 2px; font-size: 18px; margin-bottom: 18px; }
.kge-home__t-card blockquote {
  font-style: italic; font-size: 16px; line-height: 1.6;
  color: var(--text); margin: 0 0 24px;
  flex: 1;
}
.kge-home__t-card figcaption {
  display: flex; align-items: center; gap: 14px;
  font-weight: 700; color: var(--ink); font-size: 15px;
  border-top: 1px solid var(--border); padding-top: 18px;
}
.kge-home__t-card figcaption img {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover;
}

/* Kontakt + åbningstider */
.kge-home__kontakt {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.kge-home__kontakt-form .kge-home__header { margin-bottom: 32px; }
.kge-home__form { display: grid; gap: 16px; }
.kge-home__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kge-home__form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text); text-transform: none !important; letter-spacing: 0 !important; }
.kge-home__form input,
.kge-home__form textarea {
  font: inherit; font-size: 15px;
  padding: 14px 16px;
  border: 1px solid #d6dce3;
  border-radius: 12px;
  background: #fff; color: var(--ink);
  width: 100%; box-sizing: border-box;
}
.kge-home__form input:focus,
.kge-home__form textarea:focus {
  outline: 0; border-color: var(--teal-dark);
  box-shadow: 0 0 0 3px rgba(13,79,102,.15);
}
.kge-home__form textarea { resize: vertical; min-height: 130px; }
.kge-home__form button[type="submit"] { width: auto; justify-self: start; margin-top: 8px; }

.kge-home__hours {
  background: #0a1e3c; color: #fff;
  border-radius: 24px;
  padding: 40px 36px;
}
.kge-home__hours h3 {
  font-family: "Rethink Sans", sans-serif;
  font-weight: 800; font-size: 24px;
  color: #fff; margin: 0 0 28px; text-align: center;
}
.kge-home__hours ul { list-style: none; padding: 0; margin: 0 0 28px; }
.kge-home__hours li {
  display: flex; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 15px; color: rgba(255,255,255,0.92);
}
.kge-home__hours li:last-child { border-bottom: 0; }
.kge-home__hours li span:first-child { color: rgba(255,255,255,0.7); }
.kge-home__hours-addr { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.5; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12); margin-top: 4px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.kge-home__hours-phone { display: flex; align-items: center; gap: 7px; color: #fff; font-size: 15px; font-weight: 600; font-family: "Rethink Sans", sans-serif; white-space: nowrap; flex-shrink: 0; }
.kge-home__hours-phone:hover { color: var(--teal); }
.kge-home__hours-addr + .kge-home__hours-policy { border-top: 0; padding-top: 18px; }

/* Video lightbox */
.kge-videolb {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(0,0,0,0.92);
}
.kge-videolb[hidden] { display: none; }
.kge-videolb .kge-modal__backdrop { position: absolute; inset: 0; cursor: pointer; }
.kge-videolb__dialog {
  position: relative;
  width: min(1400px, 98vw);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.kge-videolb__frame { position: absolute; inset: 0; }
.kge-videolb__frame iframe { width: 100%; height: 100%; border: 0; }
.kge-videolb .kge-modal__close {
  top: -42px !important; right: 0 !important;
  color: #fff !important; background: rgba(255,255,255,0.1) !important;
}

@media (max-width: 900px) {
  .kge-home__testimonials { grid-template-columns: 1fr; gap: 18px; }
  .kge-home__kontakt { grid-template-columns: 1fr; }
  .kge-home__form-row { grid-template-columns: 1fr; }
}

/* ===================================================================
   V2 — strammere landing page (rebuild)
   =================================================================== */

/* Hero: more top padding (clear of sticky header), centered layout */
.kge-home--v2 .kge-home__hero {
  padding: 160px 0 180px;
  min-height: 0;
}
@media (max-width: 1024px) {
  .kge-home--v2 .kge-home__hero { padding: 170px 0 90px; }
}
@media (max-width: 640px) {
  .kge-home--v2 .kge-home__hero { padding: 150px 0 72px; }
}

.kge-home--v2 .kge-home__hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 880px;
}
.kge-home--v2 .kge-home__hero-center .kge-home__eyebrow {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.30);
  margin-bottom: 28px;
}
.kge-home--v2 .kge-home__hero-center h1 {
  color: #fff;
  max-width: 16ch;
  margin: 0 auto;
}
.kge-home--v2 .kge-home__hero-center .kge-home__hero-sub {
  color: rgba(255,255,255,0.92) !important;
  margin: 22px auto 0;
  max-width: 36ch;
  text-align: center;
}
.kge-home--v2 .kge-home__hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.kge-home--v2 .kge-home__hero-center .kge-home__google {
  margin-top: 28px;
  padding: 8px 16px;
  font-size: 13px;
}
.kge-home--v2 .kge-home__hero-center .kge-btn--ghost {
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
  background: transparent;
}
.kge-home--v2 .kge-home__hero-center .kge-btn--ghost:hover {
  background: #fff;
  color: var(--ink);
}

/* Trust strip in hero */
.kge-home--v2 .kge-home__trust {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 28px;
  width: 100%;
  max-width: 720px;
}
.kge-home--v2 .kge-home__trust li {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  position: relative;
  padding-left: 20px;
}
.kge-home--v2 .kge-home__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px rgba(58,171,176,0.2);
}

/* Center headers fully */
.kge-home--v2 .kge-home__header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 760px;
}

/* Behandlinger: 4 col on wide, 2 col on medium */
.kge-home--v2 .kge-home__cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 1100px) {
  .kge-home--v2 .kge-home__cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .kge-home--v2 .kge-home__cards { grid-template-columns: 1fr; }
}
.kge-home--v2 .kge-home__bcard-body { padding: 24px 24px 28px; }
.kge-home--v2 .kge-home__bcard-body h3 { font-size: 19px; }
.kge-home--v2 .kge-home__bcard-body p { font-size: 15px; }
.kge-home--v2 .kge-home__bcard-img { aspect-ratio: 4 / 3; }

/* Pris single column, centered */
.kge-home--v2 .kge-home__pris--single {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}

/* Dark kontakt+hours final section */
.kge-home--v2 .kge-home__section--dark {
  background: var(--navy);
  color: #fff;
}
.kge-home--v2 .kge-home__header--on-dark h2 { color: #fff; }
.kge-home--v2 .kge-home__header--on-dark .kge-home__lead { color: rgba(255,255,255,0.8); }
.kge-home--v2 .kge-home__header--on-dark .kge-home__eyebrow {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}

.kge-home--v2 .kge-home__section--dark .kge-home__kontakt-form {
  background: #fff;
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.kge-home--v2 .kge-home__section--dark .kge-home__hours {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 40px 32px;
}

.kge-home--v2 .kge-home__form-ctas {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.kge-home--v2 .kge-home__form-ctas .kge-btn { flex: none; min-height: 48px !important; padding: 12px 24px !important; }
.kge-home--v2 .kge-home__form-ctas a.kge-btn--primary,
.kge-home--v2 .kge-home__form-ctas button.kge-btn--primary { padding: 12px 24px !important; min-height: 48px !important; }
.kge-home--v2 .kge-home__form-ctas .kge-btn--ghost {
  color: var(--ink);
  border: 1.5px solid #d6dce3;
  background: #fff;
}
.kge-home--v2 .kge-home__form-ctas .kge-btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}
.kge-home--v2 .kge-home__form-sub {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-mid);
  text-align: center;
}
.kge-home--v2 .kge-home__form-sub a {
  color: var(--teal-dark);
  font-weight: 700;
}
.kge-home__form-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink) !important;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.kge-home__form-phone:hover {
  background: var(--ink);
  color: #fff !important;
}
.kge-home__form-phone svg {
  flex-shrink: 0;
}

/* Tighter section padding for v2 */
.kge-home--v2 .kge-home__section { padding: 100px 0; }
@media (max-width: 900px) {
  .kge-home--v2 .kge-home__section { padding: 64px 0; }
  .kge-home--v2 .kge-home__trust { gap: 10px 22px; margin-top: 36px; padding-top: 22px; }
  .kge-home--v2 .kge-home__trust li { font-size: 12px; }
  .kge-home--v2 .kge-home__hero-ctas { flex-direction: column; width: 100%; max-width: 320px; }
  .kge-home--v2 .kge-home__hero-ctas .kge-btn { width: 100%; }
  .kge-home--v2 .kge-home__section--dark .kge-home__kontakt-form,
  .kge-home--v2 .kge-home__section--dark .kge-home__hours { padding: 28px 24px; }
}

/* === Hero refinements (calmer) === */
.kge-home--v2 .kge-home__hero { padding: 160px 0 110px !important; }
.kge-home--v2 .kge-home__hero-center { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.kge-home--v2 .kge-home__hero h1 { font-size: clamp(44px, 6.4vw, 64px) !important; max-width: 14ch; margin: 14px auto 0; }
.kge-home--v2 .kge-home__hero-sub { max-width: 30ch; margin: 18px auto 0; font-size: clamp(17px, 1.6vw, 19px); color: rgba(255,255,255,0.92); text-shadow: 0 1px 18px rgba(10,30,60,0.35); }
.kge-home--v2 .kge-home__hero-ctas { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.kge-home--v2 .kge-home__hero-textlink {
  background: transparent; border: 0; padding: 6px 4px; cursor: pointer;
  font-family: "DM Sans", sans-serif; font-size: 15px; font-weight: 600;
  color: rgba(255,255,255,0.88); text-transform: none; letter-spacing: 0;
  border-bottom: 1px solid rgba(255,255,255,0.35);
}
.kge-home--v2 .kge-home__hero-textlink:hover { color: #fff; border-bottom-color: #fff; }
.kge-home--v2 .kge-home__hero .kge-home__google {
  margin-top: 32px; background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
}
.kge-home--v2 .kge-home__hero .kge-home__trust { display: none !important; }

/* === Trust bar (own thin section under hero) === */
.kge-home__trustbar { background: #fff; border-bottom: 1px solid #eef0f3; padding: 18px 0; }
.kge-home__trustbar ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 14px 36px;
}
.kge-home__trustbar li {
  font-family: "DM Sans", sans-serif; font-size: 13px; font-weight: 600;
  color: #0D4F66; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 10px;
}
.kge-home__trustbar li::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%; background: #3AABB0;
  display: inline-block; flex-shrink: 0;
}
@media (max-width: 720px) {
  .kge-home__trustbar { padding: 14px 0; }
  .kge-home__trustbar ul { gap: 8px 18px; }
  .kge-home__trustbar li { font-size: 12px; }
  .kge-home__trustbar li + li::before { display: none; }
}

/* Team cards as links */
a.kge-home__team-card { text-decoration: none; color: inherit; display: block; transition: transform .25s ease, box-shadow .25s ease; }
a.kge-home__team-card:hover { transform: translateY(-3px); box-shadow: 0 18px 48px rgba(14,28,47,0.12); }
.kge-home__team-link { display: inline-block; margin-top: 18px; color: #0D4F66; font-weight: 600; font-size: 14px; letter-spacing: 0.02em; }
a.kge-home__team-card:hover .kge-home__team-link { color: #0a1e3c; }

/* === Behandlinger: 2x2 big cards === */
.kge-home__bgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.kge-home__bigcard {
  position: relative;
  display: block;
  min-height: 380px;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
  cursor: pointer;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  transition: transform 0.28s cubic-bezier(.25,.46,.45,.94), box-shadow 0.28s cubic-bezier(.25,.46,.45,.94);
  box-shadow: 0 2px 10px rgba(14,28,47,0.06);
}
.kge-home__bigcard:hover { transform: translateY(-6px); }
.kge-home__bigcard-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}
.kge-home__bigcard:hover { box-shadow: 0 22px 56px rgba(14,28,47,0.18); }
.kge-home__bigcard--dark:hover { box-shadow: 0 22px 56px rgba(10,30,60,0.32); }
.kge-home__bigcard, .kge-home__bigcard *, .kge-home__bigcard:hover, .kge-home__bigcard:hover * { text-decoration: none !important; border-bottom: 0 !important; }
.kge-home__bigcard--light::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,30,60,0.25) 0%, rgba(10,30,60,0.88) 20%, rgba(10,30,60,0.96) 50%, rgba(10,30,60,0.98) 100%);
  z-index: 1;
  pointer-events: none;
}
.kge-home__bigcard--dark {
  background-image: linear-gradient(160deg, #0a1e3c 0%, #0d2a4d 60%, #0D4F66 100%) !important;
  background-color: #0a1e3c !important;
}
.kge-home__bigcard--dark::before { display: none; }
.kge-home__bigcard--light .kge-home__bigcard-eyebrow { color: #fff; }
.kge-home__bigcard-inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 44px 44px 38px;
  color: #fff;
  min-height: 380px;
  text-align: left;
}
.kge-home__bigcard-inner * { text-align: left !important; }
.kge-home__bigcard-eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5CC8CC;
  margin-bottom: 14px;
}
.kge-home__bigcard h3 {
  font-family: "Rethink Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 16px;
  max-width: none;
}
.kge-home__bigcard p {
  font-size: 20px; line-height: 1.55;
  color: rgba(255,255,255,0.95);
  margin: 0 0 28px;
  max-width: 560px;
}
.kge-home__bigcard-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: #0a1e3c;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1), background .3s ease;
}
.kge-home__bigcard-arrow--solid {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
}
.kge-home__bigcard:hover .kge-home__bigcard-arrow { transform: translate3d(4px, -4px, 0); }
.kge-home__bigcard:hover .kge-home__bigcard-arrow--solid { background: #5CC8CC; border-color: #5CC8CC; color: #0a1e3c; }

@media (max-width: 820px) {
  .kge-home__bgrid { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
  .kge-home__bigcard, .kge-home__bigcard-inner { min-height: 240px; }
  .kge-home__bigcard-inner { padding: 26px 24px 22px; }
  .kge-home__bigcard p { font-size: 15px !important; line-height: 1.4 !important; margin-bottom: 20px; }
  .kge-home__bigcard p br { display: none; }
  .kge-home__bigcard p br::before { content: " "; display: none; }
  .kge-home__bigcard h3 { font-size: 26px !important; line-height: 1.1 !important; margin-bottom: 12px; max-width: none !important; }
}

/* Hero v3 — bigger, calmer */
.kge-home--v2 .kge-home__hero h1 { font-size: clamp(56px, 8.6vw, 104px) !important; max-width: none; margin-top: 0; }
.kge-home--v2 .kge-home__hero-sub { font-size: clamp(20px, 2.2vw, 26px) !important; max-width: none; line-height: 1.35; margin-top: 26px; }
.kge-home--v2 .kge-home__hero-sub br { display: block; }
@media (max-width: 560px) {
  .kge-home--v2 .kge-home__hero h1 { font-size: clamp(34px, 10vw, 44px) !important; }
  .kge-home--v2 .kge-home__hero-sub { font-size: 16px !important; margin-top: 16px; }
}

/* === Floating sticky CTA === */
.kge-floatcta {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 9000;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px 14px 18px;
  background: #0a1628; color: #fff;
  border: 0; border-radius: 100px;
  font-family: "Rethink Sans", sans-serif;
  font-size: 15px; font-weight: 700;
  letter-spacing: -0.01em; cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0,0,0,.28), 0 2px 8px rgba(0,0,0,.18);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s ease, transform .4s ease, background .2s, box-shadow .2s;
}
.kge-floatcta.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.kge-floatcta:hover { background: #0D4F66; transform: translateY(-2px); animation: none; box-shadow: 0 12px 40px rgba(13,79,102,.45), 0 2px 8px rgba(0,0,0,.18); }
.kge-floatcta__label { white-space: nowrap; }
.kge-floatcta__arrow { flex-shrink: 0; opacity: .85; }

.kge-floatcta__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3ECF6A; flex-shrink: 0; position: relative;
  animation: kge-floatcta-breathe 2.4s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(62,207,106,.6);
}
.kge-floatcta__dot::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%; background: rgba(62,207,106,.35);
  animation: kge-floatcta-pulse 2.4s ease-in-out infinite;
}

@keyframes kge-floatcta-breathe { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: .85; } }
@keyframes kge-floatcta-pulse { 0% { transform: scale(.6); opacity: .6; } 60% { transform: scale(1.8); opacity: 0; } 100% { transform: scale(.6); opacity: 0; } }
@keyframes kge-floatcta-glow {
  0%,100% { box-shadow: 0 8px 32px rgba(0,0,0,.28), 0 0 0 0 rgba(62,207,106,0), 0 2px 8px rgba(0,0,0,.18); }
  50%     { box-shadow: 0 8px 32px rgba(0,0,0,.28), 0 0 0 8px rgba(62,207,106,.14), 0 0 32px rgba(62,207,106,.25), 0 2px 8px rgba(0,0,0,.18); }
}

@media (max-width: 480px) {
  .kge-floatcta { bottom: 16px; right: 12px; padding: 12px 18px 12px 14px; font-size: 14px; }
}

/* === Float CTA fixes === */
.kge-floatcta,
.kge-floatcta__label,
.kge-floatcta * { text-transform: none !important; }

/* Green arrow with glow (replaces white arrow) */
.kge-floatcta__arrow {
  color: #3ECF6A !important;
  filter: drop-shadow(0 0 6px rgba(62,207,106,0.7)) drop-shadow(0 0 12px rgba(62,207,106,0.35));
  animation: kge-arrow-glow 3.2s ease-in-out infinite;
  opacity: 1 !important;
}
@keyframes kge-arrow-glow {
  0%,100% { filter: drop-shadow(0 0 4px rgba(62,207,106,0.5)) drop-shadow(0 0 10px rgba(62,207,106,0.25)); }
  50%     { filter: drop-shadow(0 0 8px rgba(62,207,106,0.85)) drop-shadow(0 0 16px rgba(62,207,106,0.55)); }
}

/* Mobile: lift above content/footer bars */
@media (max-width: 720px) {
  .kge-floatcta { bottom: 76px; right: 12px; }
  /* push body so cards don't sit under floatcta */
  body.home { padding-bottom: 0; }
}

/* === Bigcard gradient: deeper for legibility === */
.kge-home__bigcard--light::before {
  background: linear-gradient(180deg, rgba(10,30,60,0.35) 0%, rgba(10,30,60,0.55) 35%, rgba(10,30,60,0.92) 100%) !important;
}
.kge-home__bigcard-eyebrow {
  text-shadow: 0 1px 14px rgba(0,0,0,0.45);
}

/* Hero v4 — full viewport, lighter weight */
.kge-home--v2 .kge-home__hero { min-height: 100vh; min-height: 100dvh; padding: 140px 0 80px !important; display: flex; align-items: center; }
.kge-home--v2 .kge-home__hero-center { width: 100%; }
.kge-home--v2 .kge-home__hero h1 { font-weight: 600 !important; letter-spacing: -0.035em; }
@media (max-width: 720px) {
  .kge-home--v2 .kge-home__hero { min-height: 88vh; min-height: 88dvh; padding: 120px 0 60px !important; }
}

/* Float CTA hover hardening — beat Elementor button cascade */
button.kge-floatcta,
button.kge-floatcta:hover,
button.kge-floatcta:focus,
button.kge-floatcta:active,
button.kge-floatcta:focus-visible {
  background-color: #0a1628 !important;
  background-image: none !important;
  color: #ffffff !important;
  border: 0 !important;
  outline: 0 !important;
  text-transform: none !important;
}
button.kge-floatcta:hover {
  background-color: #0D4F66 !important;
  box-shadow: 0 12px 40px rgba(13,79,102,.45), 0 2px 8px rgba(0,0,0,.18) !important;
  transform: translateY(-2px);
}
button.kge-floatcta:hover .kge-floatcta__label,
button.kge-floatcta .kge-floatcta__label { color: #ffffff !important; }
button.kge-floatcta:hover .kge-floatcta__arrow,
button.kge-floatcta .kge-floatcta__arrow { color: #3ECF6A !important; }

/* Hero v6 — 90vh desktop, badge absolutely centered between CTA and section bottom */
body.home .kge-home--v2 .kge-home__hero {
  min-height: 90vh !important;
  min-height: 90dvh !important;
  position: relative !important;
}
@media (max-width: 768px) {
  body.home .kge-home--v2 .kge-home__hero {
    min-height: 0 !important;
    padding: calc(68px + 40px) 0 56px !important;
  }
}

/* Hvem er vi — simple two-column */
.kge-home__whoami-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 64px;
  align-items: center;
}
.kge-home__whoami-title {
  font-size: clamp(36px, 4.4vw, 56px);
  margin: 0 0 40px;
  color: #0D4F66;
  grid-column: 1;
  grid-row: 1;
}
.kge-home__whoami-text {
  grid-column: 1;
  grid-row: 2;
}
.kge-home__whoami-photo {
  grid-column: 2;
  grid-row: 1 / -1;
}
.kge-home__whoami-text p {
  font-size: 20px;
  line-height: 1.6;
  color: #1a2440;
  margin: 0 0 20px;
}
.kge-home__whoami-text strong { color: #0a1e3c; font-weight: 700; }
.kge-home__whoami-cta { margin-top: 12px; display: inline-flex; align-items: center; gap: 10px; }
.kge-home__whoami-photo {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(10,30,60,.18);
}
@media (max-width: 900px) {
  .kge-home__whoami-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 0; }
  .kge-home__whoami-title { grid-column: 1; grid-row: 1; margin-bottom: 32px; }
  .kge-home__whoami-photo { grid-column: 1; grid-row: 2; aspect-ratio: 3/2; margin-bottom: 28px; }
  .kge-home__whoami-text { grid-column: 1; grid-row: 3; }
}

/* Cancellation policy in hours panel */
.kge-home__hours-policy {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,.88);
}
.kge-home__hours-policy strong { color: #ffffff; }

/* Hero google badge — keep pill, anchor to bottom of hero */
body.home .kge-home--v2 .kge-home__hero .kge-home__google {
  position: absolute !important;
  left: 50% !important;
  bottom: 11% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  white-space: nowrap;
}
.kge-home__google-count { white-space: nowrap; }
@media (max-width: 768px) {
  body.home .kge-home--v2 .kge-home__hero .kge-home__google {
    position: static !important;
    transform: none !important;
    margin: 28px auto 0 !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    gap: 8px !important;
    max-width: calc(100% - 32px);
  }
  .kge-home__google-g { width: 20px; height: 20px; }
  .kge-home__google-stars { font-size: 13px !important; }
}

/* Behandlinger — kompakt så 2x2 fits i viewport */
@media (min-width: 901px) {
  body.home .kge-home--v2 .kge-home__bigcard,
  body.home .kge-home--v2 .kge-home__bigcard-inner { min-height: 260px !important; }
  body.home .kge-home--v2 .kge-home__bigcard-inner { padding: 28px 30px 26px !important; }
  body.home .kge-home--v2 .kge-home__bigcard h3 { font-size: 26px !important; line-height: 1.15 !important; margin: 6px 0 8px !important; }
  body.home .kge-home--v2 .kge-home__bigcard p { font-size: 16px !important; line-height: 1.5 !important; }
  body.home .kge-home--v2 .kge-home__bgrid { gap: 20px !important; }
}

/* Sitewide mobile centering for section content */
@media (max-width: 900px) {
  .kge-home__section, .kge-beh__section, .kge-pris__section,
  .kge-sym__section, .kge-om__section, .kge-kon__section,
  .kge-home__whoami-text, .kge-home__whoami-grid,
  .kge-home__header, .kge-beh__header, .kge-pris__header,
  .kge-home__container > h1, .kge-home__container > h2, .kge-home__container > h3,
  .kge-beh__container > h1, .kge-beh__container > h2, .kge-beh__container > h3,
  .kge-pris__container > h1, .kge-pris__container > h2, .kge-pris__container > h3 {
    text-align: center;
  }
  .kge-home__header, .kge-beh__header, .kge-pris__header {
    margin-left: auto; margin-right: auto;
  }
}

/* Sitewide mobile centering v2: text + buttons */
@media (max-width: 900px) {
  .kge-home__section p, .kge-beh__section p, .kge-pris__section p,
  .kge-sym__section p, .kge-om__section p, .kge-kon__section p,
  .kge-home__whoami-text p, .kge-home__lead, .kge-beh__lead, .kge-pris__lead {
    text-align: center;
  }
  .kge-home__section .kge-btn, .kge-beh__section .kge-btn, .kge-pris__section .kge-btn,
  .kge-sym__section .kge-btn, .kge-om__section .kge-btn, .kge-kon__section .kge-btn,
  .kge-home__whoami-text .kge-btn {
    margin-left: auto; margin-right: auto;
  }
  .kge-home__whoami-text, .kge-home__hero-ctas, .kge-beh__hero-ctas, .kge-pris__hero-ctas {
    justify-content: center; align-items: center;
  }
}

/* Mobile centering v3: keep body text left-aligned for readability */
@media (max-width: 900px) {
  .kge-home__section p, .kge-beh__section p, .kge-pris__section p,
  .kge-sym__section p, .kge-om__section p, .kge-kon__section p,
  .kge-home__whoami-text p, .kge-home__lead, .kge-beh__lead, .kge-pris__lead {
    text-align: left;
  }
}

/* Mobile v4: symlp + broader p left-align */
@media (max-width: 900px) {
  .kge-symlp__section p, .kge-symlp__lead, .kge-symlp p,
  .kge-sym p, .kge-om p, .kge-kon p, .kge-beh p, .kge-pris p, .kge-home p {
    text-align: left;
  }
  /* Exception: section headers with --center modifier keep their p + a centered */
  .kge-home__header--center p,
  .kge-home__header--center a {
    text-align: center;
  }
  /* Whoami section needs breathing room above */
  .kge-home__whoami { padding-top: 80px !important; }
  .kge-home__whoami-title { margin-bottom: 56px !important; }
  .kge-symlp__section h1, .kge-symlp__section h2, .kge-symlp__section h3,
  .kge-symlp h1, .kge-symlp h2, .kge-symlp h3,
  .kge-symlp__section .kge-btn, .kge-symlp .kge-btn {
    text-align: center;
  }
  .kge-symlp__section .kge-btn, .kge-symlp .kge-btn { margin-left: auto; margin-right: auto; }
}

/* --- CRO: Hero segment links --- */
.kge-home__hero-segments {
  display: flex;
  gap: 8px 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}
.kge-home__hero-segments a {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.kge-home__hero-segments a:hover {
  color: #fff;
  border-color: #fff;
}

/* --- CRO: Testimonial tags --- */
.kge-home__t-tag {
  display: inline-block;
  align-self: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark, #0D4F66);
  background: rgba(13,79,102,0.08);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 8px;
}
.kge-home__t-stars {
  align-self: center;
  text-align: center;
}

@media (max-width: 600px) {
  .kge-home__hero-segments {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}


/* Centrerede section-headers: lead og p centreres på mobil */
@media (max-width: 900px) {
  .kge-home__header--center .kge-home__lead,
  .kge-home__header--center p {
    text-align: center !important;
  }
}

/* Priser-sektionens lead: venstrestil på mobil (3+ linjer-regel) — overskriver reglen ovenfor */
@media (max-width: 900px) {
  .kge-home__section--alt .kge-home__header--center p,
  .kge-home__section--alt .kge-home__header--center [class*="__lead"] {
    text-align: left !important;
  }
}
