/* =========================
   1. MODAL BASE
========================= */

.legal-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);

  display: none;
  justify-content: center;
  align-items: center;

  z-index: 2000;

  opacity: 0;
  transition: opacity 0.4s ease;
}

.legal-modal.active {
  display: flex;
  opacity: 1;
}

.legal-content {
  width: 90%;
  max-width: 900px;
  height: 80%;

  background: #f9fafb; /* 🔥 vereinheitlicht */
  border-radius: 12px;
  overflow: hidden;

  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);

  transform: translateY(20px) scale(0.98);
  transition: all 0.4s ease;
}

.legal-modal.active .legal-content {
  transform: translateY(0) scale(1);
}

.legal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: white; /* 🔥 sauberer Look */
}

.legal-close {
  position: absolute;
  top: 12px;
  right: 18px;

  font-size: 28px;
  cursor: pointer;
  color: #333;
  z-index: 10;
}


/* =========================
   2. HOURS LAYOUT
========================= */

.hours-wrapper {
  padding: 50px 40px;
  text-align: center;
}

.hours-wrapper h2 {
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
}


/* =========================
   3. DIVIDER + ANIMATION
========================= */

.hours-divider {
  width: 220px;
  height: 1px;
  margin: 6px auto 35px;

  background: linear-gradient(
    to right,
    transparent,
    rgba(200,170,110,0.6),
    rgba(200,170,110,0.9),
    rgba(200,170,110,0.6),
    transparent
  );

  filter: blur(0.3px);
  transform: scaleX(0.8);
  opacity: 0;
}

.legal-modal.active .hours-divider {
  animation: dividerReveal 0.9s ease forwards;
}

@keyframes dividerReveal {
  0% {
    opacity: 0;
    transform: scaleX(0.6);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}


/* =========================
   4. GRID & CARDS
========================= */

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.hours-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 25px;

  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.hours-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}


/* =========================
   5. CARD CONTENT
========================= */

.hours-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-size: 1.1em;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.hours-card h3 i {
  font-size: 0.9em;
  transition: all 0.3s ease;
}

.hours-card:hover h3 i {
  transform: translateY(-2px) scale(1.1);
  filter: brightness(1.2);
}

.divider {
  width: 40px;
  height: 1px;
  background: rgba(0,0,0,0.15);
  margin: 10px auto 20px;
}

.hours-card p {
  margin: 5px 0;
  font-size: 0.95em;
}

.hours-card .time {
  font-weight: 500;
  margin-bottom: 10px;
}

.hours-card .closed {
  margin-top: 10px;
  opacity: 0.6;
}

.hours-card .info {
  margin-top: 12px;
  font-size: 0.85em;
  opacity: 0.75;
  line-height: 1.5;
}


/* =========================
   JOBS MODAL
========================= */

.jobs-wrapper {
  padding: 50px 40px;
  text-align: center;
}

.jobs-content {
  max-width: 500px;
  margin: 0 auto;
  padding-top: 10px;
}

.jobs-icon {
  font-size: 30px;
  margin-bottom: 20px;
  color: #e6c07b;
  opacity: 0.9;
}

.jobs-content h3 {
  margin-bottom: 10px;
  font-weight: 500;
}

.jobs-content p {
  font-size: 0.95em;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}


/* =========================
   LINK BEHAVIOR
========================= */

.hours-card h3 a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  text-decoration: none;
  color: inherit;
}

.hours-card h3 a:hover {
  opacity: 0.85;
}


/* =========================
   LEGAL FRAME UPGRADE
========================= */

.legal-content::after {
  content: "";
  position: absolute;
  inset: 0;

  pointer-events: none;

  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}

.legal-modal.active iframe {
  animation: iframeFade 0.5s ease;
}

@keyframes iframeFade {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* =========================
   ICON COLORS
========================= */

.icon-fish { color: #6bb6ff; }
.icon-restaurant { color: #e6c07b; }
.icon-shop { color: #8fd3a6; }