/* Overlay */
.schomberg-nl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* sichtbarer Zustand */
.schomberg-nl-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Popup-Box */
.schomberg-nl-popup {
  background: #2d2f31;
  border-radius: 14px;
  max-width: 720px;
  width: 100%;
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;

  /* Textfarbe auf weißem Hintergrund */
  color: #ffffff;

  /* Schomberg-Gold */
  border: 4px solid #997E48;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.2),
    0 0 18px rgba(153, 126, 72, 0.45);
}

/* Layout */
.schomberg-nl-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Bildseite */
.schomberg-nl-image img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

/* Close-Button */
.schomberg-nl-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #000000;
}

/* Inhalte */
.schomberg-nl-content h2 {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.schomberg-nl-subtitle {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.schomberg-nl-benefits {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.schomberg-nl-benefits li {
  margin-bottom: 0.25rem;
}

/* Button*/
.schomberg-nl-button {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  background: #997E48
;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
  width: 100%;
}

.schomberg-nl-button:hover {
  background: #951b1b;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.schomberg-nl-note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: #333333;
}

/* Responsiv ab ca. Tablet */
@media (min-width: 640px) {
  .schomberg-nl-popup {
    padding: 2rem 2rem 1.75rem;
  }

  .schomberg-nl-layout {
    flex-direction: row;
    align-items: center;
  }

  .schomberg-nl-image {
    flex: 1 1 45%;
  }

  .schomberg-nl-content {
    flex: 1 1 55%;
  }

  .schomberg-nl-content h2 {
    font-size: 1.5rem;
  }

  .schomberg-nl-subtitle {
    font-size: 1rem;
  }

  .schomberg-nl-button {
    width: auto;
  }
}
