body{
  margin: 0;
  background-color: #03193d;
}

header{
    background-color: #000002;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 10px 16px 31px 6px #000000;
}

.headerLogo{
    height: 100px;
    width: 100px;}

.headerFirma{
    color: aliceblue;
    font-size: xx-large;
}

.button-54 {
  font-family: "Open Sans", sans-serif;
  font-size: 8px;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  cursor: pointer;
  border: 2px solid;
  padding: 0.25em 0.5em;
  box-shadow: 1px 1px 0px 0px, 1px 1px 0px 0px, 2px 2px 0px 0px, 2px 2px 0px 0px, 3px 3px 0px 0px;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;}

.button-54:active {
  box-shadow: 0px 0px 0px 0px;
  top: 5px;
  left: 5px;
}

@media (min-width: 768px) {
  .button-54 {
    padding: 0.25em 0.75em;
  }
}

.homeBild{
  width: 100%;
}

.homeBild img{
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 50vw; /* optional */
}

.karten{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    padding: 20px;
    justify-items: center;
}

.flip-card{
    width: 100%;
    max-width: 400px;
    height: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flip-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.flip-card input{
    display:none;
    max-width: 900px;
}

.flip-card input:checked + .flip-card-inner{
    transform:rotateY(180deg);
}

.flip-card input {
    display: none;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s;
    transform-style: preserve-3d;
}

.flip-card input:checked + .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    background: white;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-card-back {
    background: #0059c0;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotateY(180deg);
    padding: 20px;
    box-sizing: border-box;
}