/* ============================================================
   ÜBER UNS – KACHELN
============================================================ */
#ueber {
position: relative;
  background: #f5f5f5;
}

#ueber::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  z-index: 3;
}

.ueber-kachel {
  background: #fff;
  padding: 1.75rem 1.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.36);
}

.js-ready .ueber-kachel {
  transition: box-shadow 0.3s ease;
}

/* Roter Balken links: standardmäßig unsichtbar, wächst bei Hover/Touch von unten nach oben */
.ueber-kachel::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 4px;
  height: 0%;
  background: var(--red);
  z-index: 2;
  transition: height 0.4s ease;
}

/* Weinrot-zu-Weiß-Verlauf unten, ca. 25% Höhe, nur bei Hover sichtbar */
/*.ueber-kachel::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 15%;
  background: linear-gradient(to top, var(--red) 0%, rgba(139,31,31,0) 100%);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
*/

.ueber-kachel:hover,
.ueber-kachel:focus-within,
.ueber-kachel.touch-active {
  box-shadow: 0 10px 32px rgba(0,0,0,0.18);
}

.ueber-kachel:hover::before,
.ueber-kachel:focus-within::before,
.ueber-kachel.touch-active::before {
  height: 100%;
}

.ueber-kachel:hover::after,
.ueber-kachel:focus-within::after,
.ueber-kachel.touch-active::after {
  opacity: 1;
}

.ueber-kachel > * {
  position: relative;
  z-index: 2;
}

.js-ready .ueber-kachel {
  opacity: 0;
  transform: translateX(-140px);
  transition: opacity 0.95s ease, transform 0.95s ease, box-shadow 0.3s ease;
}
.js-ready .ueber-kachel.slide-in {
  opacity: 1;
  transform: translateX(0);
}

.ueber-kachel .k-icon {
  font-size: 1.8rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.ueber-kachel h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  letter-spacing: 0.04em;
}

.ueber-kachel p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}


