@charset "UTF-8";
/* ============================================================
   brickmerge — Hero-Buttons
   Class-Prefix .bmh- verhindert Kollisionen.
   ============================================================ */
.bmh { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; padding: 18px 0 2rem; background: #fff; text-align: left; }
.bmh .row { margin-bottom: 0; }
.bmh-actionsRow { margin-left: -5px !important; margin-right: -5px !important; }
.bmh-actionsRow > .columns { padding-left: 5px !important; padding-right: 5px !important; }
.bmh-heroCol, .bmh-actionsCol { padding-bottom: 10px; }

/* Hero (Rabatt-Alarm) */
.bmh-hero,
.bmh-hero:link,
.bmh-hero:visited,
.bmh-hero:hover,
.bmh-hero:focus,
.bmh-hero:active { color: #fff !important; text-decoration: none; }
.bmh-hero {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px 22px 20px; border-radius: 14px;
  background: linear-gradient(135deg, #d62828 0%, #b91d1d 100%);
  min-height: 152px; height: 100%;
  position: relative; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.bmh-hero::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.bmh-hero:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(214,40,40,0.5); }
.bmh-hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; opacity: 0.85; margin-bottom: 6px; position: relative; }
.bmh-hero-title { font-size: 24px; font-weight: 800; line-height: 1.1; position: relative; }
.bmh-hero-sub { font-size: 13.5px; line-height: 1.4; margin-top: 8px; opacity: 0.9; position: relative; }
.bmh-hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  padding: 9px 14px; border-radius: 999px;
  background: #fff; color: #b91d1d !important;
  align-self: flex-start; margin-top: 14px; position: relative;
}

/* Aktions-Tiles */
.bmh-tileCol { padding: 0 5px 10px; box-sizing: border-box; }
.bmh-tile,
.bmh-tile:link,
.bmh-tile:visited { color: var(--c, #1a1a1a) !important; text-decoration: none; }
.bmh-tile {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 14px; border-radius: 12px;
  background: var(--bg, #f5f5f5);
  border: 1px solid var(--border, transparent);
  font-weight: 700; font-size: 13.5px; line-height: 1.2;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
  min-height: 70px; height: 100%;
  box-sizing: border-box;
}
.bmh-tile:hover {
  border-color: var(--c);
  color: var(--c) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px var(--c);
}
.bmh-tile-icon {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; background: var(--icbg, rgba(0,0,0,0.05));
  transition: transform 0.25s ease;
}

/* Sprung-Pills */
.bmh-jumps { padding-top: 16px; margin-top: 6px; border-top: 1px solid #eee; }
.bmh-jumps-label { display: block; font-size: 11px; color: #888; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 8px; }
.bmh-jumpCol { padding: 0 4px 6px; box-sizing: border-box; }
.bmh-jump,
.bmh-jump:link,
.bmh-jump:visited { color: #444 !important; text-decoration: none; }
.bmh-jump {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 8px 13px; border-radius: 8px;
  background: #f5f5f5;
  font-size: 13px; font-weight: 500;
  transition: background 0.15s, color 0.15s;
  width: 100%; box-sizing: border-box;
}
.bmh-jump:hover { background: #ececec; color: #1a1a1a !important; }
.bmh-jump svg { color: #999; }

/* Stagger-Entry beim Laden — wird von JS via .bmh-ready getriggert
   (so läuft die Animation erst, wenn die Komponente sichtbar wird,
    und der erste Paint zeigt sofort den Endzustand falls JS deaktiviert ist) */
.bmh-ready .bmh-tile { animation: bmhFadeIn 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.bmh-ready .bmh-hero { animation: bmhFadeIn 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.bmh-ready .bmh-tileCol:nth-child(1) .bmh-tile { animation-delay: 0.08s; }
.bmh-ready .bmh-tileCol:nth-child(2) .bmh-tile { animation-delay: 0.14s; }
.bmh-ready .bmh-tileCol:nth-child(3) .bmh-tile { animation-delay: 0.20s; }
.bmh-ready .bmh-tileCol:nth-child(4) .bmh-tile { animation-delay: 0.26s; }
.bmh-ready .bmh-tileCol:nth-child(5) .bmh-tile { animation-delay: 0.32s; }
.bmh-ready .bmh-tileCol:nth-child(6) .bmh-tile { animation-delay: 0.38s; }

/* Mouse-Tracking Glow: --mx/--my werden von JS gesetzt (0..1 relativ zum Tile) */
.bmh-tile { position: relative; overflow: hidden; }
.bmh-tile::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(180px circle at calc(var(--mx, 0.5) * 100%) calc(var(--my, 0.5) * 100%), var(--c), transparent 60%);
  opacity: 0; transition: opacity 0.25s;
  border-radius: inherit;
  mix-blend-mode: multiply;
}
.bmh-tile:hover::after { opacity: 0.10; }

@keyframes bmhFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
  to   { opacity: 1; transform: none; }
}

/* Phone tweaks */
@media (max-width: 639px) {
  .bmh { padding: 12px 0 2rem; }
  .bmh-hero { padding: 16px 16px 14px; min-height: 0; }
  .bmh-hero-title { font-size: 20px; }
  .bmh-hero-sub { font-size: 13px; margin-top: 6px; }
  .bmh-hero-cta { margin-top: 12px; padding: 8px 13px; font-size: 12.5px; }
  .bmh-hero::before { width: 140px; height: 140px; top: -50px; right: -50px; }
  .bmh-tile { padding: 12px; min-height: 60px; font-size: 13px; }
  .bmh-tile-icon { width: 26px; height: 26px; }
  .bmh-jump { padding: 8px 10px; font-size: 12.5px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bmh, .bmh *, .bmh *::before, .bmh *::after {
    animation: none !important; transition: none !important;
  }
  .bmh-tile:hover, .bmh-hero:hover { transform: none !important; }
}