.dfc-flipcard {
    width: 100%;
    height: 300px;
    perspective: 1000px;
}
.dfc-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 1.5s;
    transform-style: preserve-3d;
}
.dfc-flipcard:hover .dfc-inner {
    transform: rotateY(180deg);
}
.dfc-btn:hover ~ .dfc-inner {
    transform: none !important;
}
.dfc-front, .dfc-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}
.dfc-front {
    background-size: cover;
    background-position: center;
    color: white;
    overflow: visible;
}
/* ---------------------------------------------
   Front Overlay Style – Schriftgröße & Radius
----------------------------------------------*/

.dfc-front-overlay {
  padding: 1.2em;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 0.8em;
  font-size: 1em;
  text-align: center;
  white-space: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  line-height: 1.3em;
  width: auto;
  max-width: 90%;
  word-break: break-word;
}

.dfc-front-overlay h3 {
  font-size: 24px;
  font-weight: bold;
  color: #fff !important;
  margin: 0;
  padding: 0;
  line-height: 1.3;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}
.dfc-back {
    transform: rotateY(180deg);
}
.dfc-btn {
    margin-top: 10px;
    padding: 8px 16px;
    text-decoration: none;
    display: inline-block;
}
/* Flip Card Link Button Styles */
.dfc-multilinks {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dfc-multilinks a {
  display: inline-block;
  background: #fff;
  color: red;
  font-weight: bold;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 5px;
  margin: 3px 0;
  transition: background 0.3s ease;
}

.dfc-multilinks a:hover {
  background: #f0f0f0;
}
