/* ==========================================================================
   HERZENSGEFÄHRTE - MINIMAL CLEAN TEASER
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at 50% 50%, #f7f6f4 0%, #ebe9e5 65%, #dfddd9 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Teaser Center Container */
.teaser-wrapper {
  flex: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem 2.2rem;
}

.teaser-image {
  max-width: 100%;
  max-height: calc(100vh - 3.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  user-select: none;
  -webkit-user-drag: none;
}

/* Discreet Legal Bar at Bottom */
.legal-bar {
  position: fixed;
  bottom: 0.6rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: #8b8f8d;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.legal-bar:hover {
  opacity: 1;
}

.legal-link {
  background: none;
  border: none;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.2rem 0.4rem;
}

.legal-link:hover {
  color: #1a1a1a;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(15px);
  transition: transform 0.25s ease;
}

.modal-backdrop.open .modal-box {
  transform: translateY(0);
}

.modal-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.15rem;
  color: #222;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #777;
  cursor: pointer;
  padding: 0 0.3rem;
}

.modal-close:hover {
  color: #000;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  color: #444;
  font-size: 0.92rem;
  line-height: 1.6;
}

.modal-body h4 {
  color: #111;
  margin: 1rem 0 0.3rem;
  font-size: 1rem;
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
  html, body {
    overflow-y: auto;
    height: auto;
    min-height: 100%;
  }

  .teaser-wrapper {
    padding: 1rem 0.5rem 2.5rem;
  }

  .teaser-image {
    max-height: none;
    width: 100%;
    border-radius: 4px;
  }
}
