/*********** Topbar **************/
#sp-topbar {
    height: 60px;
}


/*********** HEADER ************/

/*** Logo ***/
#sp-logo {
    margin-top: -30px;
}

.logo-image {
    height: 100px !important;
}

/*** Menu ***/
#sp-header {
    box-shadow: none;
    height: 60px;
}

.sp-megamenu-parent>li {
  color: #fff;
}

/********** SP Main ************/
#sp-main-body {
    padding: 0px 0px;
  margin: -10px;
}

#sp-main-body {
    min-height: calc(100vh - 180px);
}


/************* FOOTER ********************/
#sp-footer {
    height: 60px;
    display: flex;
    align-items: center;
}

#sp-footer .container-inner {
    padding: 10px 0;
    border: none;
}


/*********** SALG ***************/
/* ============================================================
   E-BEREDSKAB — Platform page styles (v2)
   Tilføj dette til din eksisterende CSS-fil.
   Alt er scoped under .eb-platform for at undgå konflikter.
   ============================================================ */

/* ---------- Variabler ---------- */
.eb-platform {
  --eb-primary: #003366;
  --eb-primary-dark: #002244;
  --eb-primary-light: #1a5276;
  --eb-accent: #4d80a8;
  --eb-accent-warm: #e8a44a;
  --eb-bg-light: #edf2f7;
  --eb-bg-card: #ffffff;
  --eb-text: #2d3748;
  --eb-text-muted: #64748b;
  --eb-text-light: #94a3b8;
  --eb-border: #e2e8f0;
  --eb-gradient: linear-gradient(135deg, #002244 0%, #003366 40%, #1a5276 100%);
  --eb-gradient-warm: linear-gradient(135deg, #003366 0%, #1a5276 50%, #4d80a8 100%);
  --eb-shadow-sm: 0 1px 3px rgba(0, 51, 102, 0.08);
  --eb-shadow-md: 0 4px 20px rgba(0, 51, 102, 0.10);
  --eb-shadow-lg: 0 8px 40px rgba(0, 51, 102, 0.14);
  --eb-radius: 12px;
  --eb-radius-lg: 20px;

  color: var(--eb-text);
  line-height: 1.7;
}


/* ---------- Hero ---------- */
.eb-platform-hero {
  background: linear-gradient(180deg, #003366 0%, #1a5276 60%, #2a6d99 100%);
  color: #fff;
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}

.eb-platform-hero::before {
  content: '';
  position: absolute;
  bottom: -250px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(77,128,168,0.15) 0%, transparent 60%);
  border-radius: 50%;
}

.eb-platform-hero::after {
  content: '';
  position: absolute;
  bottom: -250px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(77,128,168,0.15) 0%, transparent 60%);
  border-radius: 50%;
}

.eb-platform-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.eb-platform-hero h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--eb-accent-warm);
  border-radius: 2px;
  margin-top: 18px;
}

.eb-platform-hero .lead {
  font-size: 1.2rem;
  opacity: 0.92;
  max-width: 680px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}


/* ---------- Sektioner ---------- */
.eb-section {
  padding: 80px 0;
  position: relative;
}

.eb-section-alt {
  background: var(--eb-bg-light);
  position: relative;
}

/* Dekorativ diagonal overgang mellem sektioner */
.eb-section-alt::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 30px;
  background: var(--eb-bg-light);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.eb-section-alt::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 0;
  right: 0;
  height: 30px;
  background: var(--eb-bg-light);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 1;
}

.eb-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--eb-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}

.eb-section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--eb-accent-warm);
  border-radius: 2px;
  margin-top: 10px;
}

.eb-section-subtitle {
  font-size: 1.05rem;
  color: var(--eb-text-muted);
  max-width: 640px;
  line-height: 1.7;
}


/* ---------- Intro ---------- */
.eb-intro-text {
  font-size: 1.15rem;
  color: var(--eb-text);
  line-height: 1.85;
  max-width: 780px;
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--eb-accent);
}


/* ---------- Kursusstruktur ---------- */
.eb-structure-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin: 44px 0 34px;
}

.eb-structure-step {
  text-align: center;
  padding: 30px 26px;
  background: var(--eb-bg-card);
  border-radius: var(--eb-radius);
  box-shadow: var(--eb-shadow-md);
  min-width: 170px;
  flex: 0 1 200px;
  position: relative;
  border-top: 3px solid var(--eb-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eb-structure-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--eb-shadow-lg);
}

.eb-structure-step svg {
  margin-bottom: 12px;
}

.eb-structure-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--eb-primary);
  margin-bottom: 4px;
}

.eb-structure-step p {
  font-size: 0.85rem;
  color: var(--eb-text-muted);
  margin: 0;
}

.eb-structure-arrow {
  font-size: 1.8rem;
  color: var(--eb-accent-warm);
  padding: 0 10px;
  flex-shrink: 0;
  font-weight: 700;
}

.eb-structure-note {
  text-align: center;
  color: var(--eb-text-muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}


/* ---------- Indholdskort ---------- */
.eb-content-card {
  background: var(--eb-bg-card);
  border-radius: var(--eb-radius-lg);
  box-shadow: var(--eb-shadow-md);
  padding: 40px 36px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--eb-border);
  position: relative;
  overflow: hidden;
}

.eb-content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--eb-gradient-warm);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.eb-content-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--eb-shadow-lg);
}

.eb-content-card:hover::before {
  opacity: 1;
}

.eb-content-card .eb-icon {
  margin-bottom: 20px;
  width: 64px;
  height: 64px;
  background: var(--eb-bg-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eb-content-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--eb-primary);
  margin-bottom: 10px;
}

.eb-content-card p {
  font-size: 0.95rem;
  color: var(--eb-text-muted);
  line-height: 1.7;
  margin: 0;
}


/* ---------- Feature-rækker (ikon + tekst) ---------- */
.eb-feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 20px;
}

.eb-feature-row.reverse {
  flex-direction: row-reverse;
}

.eb-feature-icon-wrap {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  background: var(--eb-bg-light);
  border-radius: var(--eb-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--eb-shadow-md);
  position: relative;
  border: 1px solid var(--eb-border);
}

/* Dekorativ accent-dot på ikon-wrap */
.eb-feature-icon-wrap::after {
  content: '';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 16px;
  height: 16px;
  background: var(--eb-accent-warm);
  border-radius: 50%;
  border: 3px solid var(--eb-bg-light);
}

/* Sektioner med hvid baggrund bruger hvid border på dot */
.eb-section:not(.eb-section-alt) .eb-feature-icon-wrap::after {
  border-color: #fff;
}

.eb-feature-text h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--eb-primary);
  margin-bottom: 10px;
}

.eb-feature-text h3::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--eb-accent-warm);
  border-radius: 2px;
  margin-top: 8px;
}

.eb-feature-text p {
  font-size: 1rem;
  color: var(--eb-text-muted);
  line-height: 1.75;
  margin: 0;
}


/* ---------- Highlight-bokse ---------- */
.eb-highlight-box {
  background: var(--eb-bg-card);
  border-radius: var(--eb-radius);
  padding: 32px 28px;
  box-shadow: var(--eb-shadow-sm);
  border-left: 4px solid var(--eb-primary);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-left-color 0.2s ease;
  position: relative;
}

.eb-highlight-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--eb-shadow-md);
  border-left-color: var(--eb-accent-warm);
}

.eb-highlight-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--eb-primary);
  margin-bottom: 8px;
}

.eb-highlight-box p {
  font-size: 0.93rem;
  color: var(--eb-text-muted);
  line-height: 1.7;
  margin: 0;
}


/* ---------- Serviceboks (tilkøb) ---------- */
.eb-service-box {
  background: var(--eb-bg-card);
  border-radius: var(--eb-radius-lg);
  padding: 50px 44px;
  box-shadow: var(--eb-shadow-md);
  border: 1px solid var(--eb-border);
  position: relative;
  overflow: hidden;
}

.eb-service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--eb-primary), var(--eb-accent-warm), var(--eb-primary));
}

.eb-service-box svg {
  margin-bottom: 16px;
}

.eb-service-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--eb-primary);
  margin-bottom: 12px;
}

.eb-service-box p {
  font-size: 1rem;
  color: var(--eb-text-muted);
  line-height: 1.75;
}

.eb-service-box .eb-btn-cta {
  margin-top: 20px;
}


/* ---------- CTA-sektion ---------- */
.eb-cta-section {
  background: linear-gradient(180deg, #2a6d99 0%, #1a5276 40%, #003366 100%);
  color: #fff;
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.eb-cta-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 50%);
  border-radius: 50%;
}

/* Dekorative dots i CTA */
.eb-cta-section::after {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 40px;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
}

.eb-cta-section h2 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.eb-cta-section h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--eb-accent-warm);
  border-radius: 2px;
  margin: 16px auto 0;
}

.eb-cta-section p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}


/* ---------- CTA-knap ---------- */
.eb-btn-cta {
  display: inline-block;
  background: #fff;
  color: var(--eb-primary);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 44px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
}

.eb-btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.2);
  color: var(--eb-primary-dark);
  background: #fff;
  text-decoration: none;
}

/* Variant: knap på hvid baggrund */
.eb-service-box .eb-btn-cta {
  background: var(--eb-gradient);
  color: #fff;
}

.eb-service-box .eb-btn-cta:hover {
  color: #fff;
  box-shadow: 0 6px 25px rgba(0, 51, 102, 0.3);
}


/* ---------- Kontaktside: Kompakt hero ---------- */
.eb-hero-compact {
  padding: 60px 0 50px;
}

/* ---------- Kontaktside: Info-boks ---------- */
.eb-contact-info-box {
  background: var(--eb-bg-light);
  border-radius: var(--eb-radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--eb-border);
  height: 100%;
}

.eb-contact-info-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--eb-primary);
  margin-bottom: 24px;
}

.eb-contact-info-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--eb-primary);
  margin-bottom: 16px;
}

/* ---------- Kontaktside: Kontakt-item ---------- */
.eb-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.eb-contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--eb-bg-card);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--eb-shadow-sm);
}

.eb-contact-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--eb-text-light);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.eb-contact-item a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--eb-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.eb-contact-item a:hover {
  color: var(--eb-accent);
}

/* ---------- Kontaktside: Divider ---------- */
.eb-contact-divider {
  height: 1px;
  background: var(--eb-border);
  margin: 24px 0;
}

/* ---------- Kontaktside: Forventnings-liste ---------- */
.eb-expect-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eb-expect-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eb-expect-item svg {
  flex-shrink: 0;
}

.eb-expect-item span {
  font-size: 0.95rem;
  color: var(--eb-text-muted);
  line-height: 1.5;
}


/* ---------- Forside: Hero-knap ---------- */
.eb-btn-cta-hero {
  margin-top: 28px;
}

/* ---------- Forside: Tekst ved siden af kort ---------- */
.eb-front-text {
  font-size: 1.05rem;
  color: var(--eb-text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ---------- Forside: Link med pil ---------- */
.eb-link-arrow {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--eb-primary);
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.2s ease;
}

.eb-link-arrow::after {
  content: ' →';
  transition: margin-left 0.2s ease;
  margin-left: 0;
}

.eb-link-arrow:hover {
  color: var(--eb-accent);
  text-decoration: none;
}

.eb-link-arrow:hover::after {
  margin-left: 6px;
}

/* ---------- Forside: Mini-kort (indholdstyper) ---------- */
.eb-mini-card {
  background: var(--eb-bg-card);
  border: 1px solid var(--eb-border);
  border-radius: var(--eb-radius);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--eb-shadow-sm);
  height: 100%;
}

.eb-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--eb-shadow-md);
}

.eb-mini-card span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--eb-primary);
}

/* ---------- Forside: Centreret ikon i kort ---------- */
.eb-icon-centered {
  margin-left: auto;
  margin-right: auto;
}


/* ---------- Responsivt ---------- */
@media (max-width: 767px) {
  .eb-platform-hero {
    padding: 60px 0 50px;
  }

  .eb-platform-hero h1 {
    font-size: 2rem;
  }

  .eb-section {
    padding: 56px 0;
  }

  .eb-section-alt::before,
  .eb-section-alt::after {
    height: 20px;
    top: -20px;
  }

  .eb-section-alt::after {
    bottom: -20px;
  }

  .eb-section-title {
    font-size: 1.5rem;
  }

  .eb-structure-flow {
    flex-direction: column;
    gap: 0;
  }

  .eb-structure-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }

  .eb-feature-row,
  .eb-feature-row.reverse {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .eb-feature-text h3::after {
    margin-left: auto;
    margin-right: auto;
  }

  .eb-feature-icon-wrap {
    width: 110px;
    height: 110px;
  }

  .eb-intro-text {
    padding-left: 18px;
  }

  .eb-service-box {
    padding: 36px 28px;
  }

  .eb-content-card {
    padding: 32px 28px;
  }
}