/* =====================================================================
   Kacheln (Beispielreisen, Ratgeber, Reisearten, ...) — sichtbares Link-Signal
   WCAG 2.2 AA: 1.3.3 (Sensory Characteristics), 1.4.11 (Non-text Contrast),
   2.4.7 (Focus Visible), 2.4.11 (Focus Not Obscured), 3.2.4 (Consistent
   Identification), 4.1.2 (Name, Role, Value).
   Baut auf focus.css auf und ändert nichts an dessen Fokus-Ring.
   ===================================================================== */

/* --- Cursor + Untertitel-Kontrast in bestehenden .region-card verstärken --- */
.region-card {
  cursor: pointer;
}
.region-body p {
  color: rgba(255, 255, 255, 0.96); /* vorher .92 — WCAG 4.5:1 auf Blau */
}

/* --- Chevron rechts unten (deutliches Link-Signal) --- */
.region-body::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-top: 12px;
  border-radius: 50%;
  background-color: #ffffff;
  /* SVG-Chevron in Blau (--blue = #0F3168) */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F3168' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 6 15 12 9 18'/></svg>");
  background-repeat: no-repeat;
  background-position: 55% center;
  background-size: 16px 16px;
  vertical-align: middle;
  transform: translateX(0);
  transition: transform .25s ease, background-color .25s ease;
  /* WCAG 1.4.11: 3:1-Kontrast Weiß vs. Blau-Overlay ist gegeben */
  box-shadow: 0 0 0 1px rgba(15, 49, 104, 0.15);
}

/* --- Hover: Chevron wandert nach rechts, wird rot mit weissem Pfeil --- */
.region-card:hover .region-body::after,
.region-card:focus-visible .region-body::after {
  transform: translateX(4px);
  background-color: #B70017; /* Website-Rot (--red), konsistent mit CTA-Buttons */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 6 15 12 9 18'/></svg>");
  box-shadow: 0 0 0 1px rgba(143, 0, 18, 0.3);
}

/* --- Zusätzlicher „Reise ansehen"-Text nur für Screenreader (visuell versteckt) --- */
.region-card::before {
  content: "Details ansehen";
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Bewegung nur wenn OK --- */
@media (prefers-reduced-motion: reduce) {
  .region-card,
  .region-card img,
  .region-body::after {
    transition: none !important;
  }
  .region-card:hover {
    transform: none;
  }
  .region-card:hover img {
    transform: none;
  }
}

/* --- Windows High-Contrast: Chevron sichtbar halten --- */
@media (forced-colors: active) {
  .region-body::after {
    background-color: Canvas;
    background-image: none;
    border: 2px solid CanvasText;
  }
  .region-body::after {
    /* Textzeichen als Fallback: › */
    content: "›";
    color: CanvasText;
    text-align: center;
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 24px;
  }
}
