
html, body {
    overflow-x: hidden;
    width: 100vw;
    max-width: 100vw;
}
/* ============ Kartenbereich ============= */
.angebotcontainer {
    display: flex;
    gap: 1.7vw;           /* Kleineres Gap, z.B. 1.7vw */
    justify-content: center;
    align-items: flex-start;
    margin: 5vw 0 10vw 0 ;
    flex-wrap: nowrap;    /* Verhindert Umbruch solange genug Platz */
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 98vw;      /* Falls nötig */
    box-sizing: border-box;
}

.flip-card {
    position: relative;
    background-color: transparent;
    width: 15vw;          /* Noch schmaler als zuvor */
    height: 20vw;
    perspective: 1200px;
    display: inline-block;
    margin: 0;
    vertical-align: top;
    transition: height 0.5s cubic-bezier(.5,1.5,.5,1.2);
    z-index: 1;
    border: none !important;
    box-shadow: 0 2px 14px #0008;
    outline: none !important;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(.5,1.5,.5,1.2);
    transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner,
.flip-card:focus-within .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back,
.flip-card-front img {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 20vw;
    backface-visibility: hidden;
    border-radius: 14px;
    overflow: hidden;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.flip-card-front {
    background: #000000;
}
.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
.cell-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2vw;
    color: #fff;
    font-size: 1vw;
    font-weight: bold;
    text-shadow: 0 2px 6px #000a;
    text-align: center;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 0.5vw;
}

/* --- Kartenrückseite --- */
.flip-card-back {
    background: #000000;
    color: #fff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    border-radius: 14px;
    padding: 2vw 1vw 1vw 1vw;
    box-sizing: border-box;
    min-height: 30vw;
}

.flip-content {
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 0.2vw;
    height: 100%;
    box-sizing: border-box;
    position: relative;
}

.flip-content h3 {
    margin-top: 0.5vw;
    margin-bottom: 0.8vw;
    font-size: 0.9vw;
    font-weight: 700;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
    padding: 0;
}
.flip-content ul {
    list-style: disc;
    text-align: left;
    margin: 0 0 0.6vw 0;
    font-size: 0.79vw;
    padding-left: 1.4em;
    width: 90%;
}
.flip-content li {
    margin-bottom: 0.22vw;
}

/* Button immer 2vw von unten, mittig */
.referenz-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 2vw;
    margin: 0;
    padding: 0.62em 1.5em;
    background: #fff;
    color: #181818;
    border-radius: 1.1em;
    font-weight: 500;
    font-size: 1vw;
    text-decoration: none;
    box-shadow: 0 2px 14px #0002;
    transition: all 0.2s;
    border: none;
    text-align: center;
    white-space: nowrap;
    min-width: 65%;
    max-width: 90%;
}
.referenz-link:hover {
    background: #222;
    color: #fff;
    box-shadow: 0 2px 18px #0005;
    transform: translate(-50%, -3px) scale(1.05);
}

.angebot-header {
    text-align: center;
    max-width: 950px;
    margin: 0 auto 60px auto;
    padding-top: 60px;
}

.angebot-header h2 {
    font-size: 4rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 32px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.angebot-header p {
    font-size: 1.7rem;
    color: #f2f2f2;
    margin-bottom: 36px;
    line-height: 1.5;
}

.angebot-header b {
    font-weight: bold;
    color: #fff;
}

.highlight-blue {
    color: #57e3ff;
    font-weight: bold;
}

.angebot-link {
    color: #ffe066;
    font-weight: 700;
    text-decoration: none;
    background: none;
    padding: 0 3px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    font-size: 1.1em;
    box-shadow: 0 2px 12px #0002;
}
.angebot-link:hover {
    background: #ffe066;
    color: #191818;
    text-decoration: none;
}

.angebot-chips {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.angebot-chips span {
    background: #191919;
    color: #ffe066;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 26px;
    padding: 12px 30px;
    box-shadow: 0 3px 22px #0003;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}

.angebot-chips span:hover {
    background: #ffe066;
    color: #181818;
}

.angebot-header {
    text-align: center;
    max-width: 950px;
    margin: 0 auto 60px auto;
    padding-top: 60px;
}
.angebot-header h2 {
    font-size: 4rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 32px;
    letter-spacing: -1px;
    line-height: 1.1;
}
.angebot-header p {
    font-size: 1.7rem;
    color: #f2f2f2;
    margin-bottom: 36px;
    line-height: 1.5;
}
.angebot-header b {
    font-weight: bold;
    color: #fff;
}

/* FPV Drohnenaufnahmen in hellblau */
.fpv-blue {
    color: #57e3ff;
    font-weight: bold;
}

/* Gelber Link */
.angebot-link {
    color: #ffe699;
    font-weight: 700;
    text-decoration: underline;
    background: none;
    padding: 0 3px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    font-size: 1.08em;
}
.angebot-link:hover {
    background: #ffe485;
    color: #181818;
    text-decoration: none;
}



.angebot-link {
    display: inline-block;

    margin-top: 2vw;  /* oder z.B. 1.4em für responsive Abstand */
}



/* =================== Portrait (Hochformat) =================== */
@media (orientation: portrait) {

    .angebot-header {
        margin-bottom: 13vw;      /* Mehr Abstand unter dem ganzen Header */
    }
    .flip-card {
        margin-top: 3vw;         /* Zusätzlicher Abstand nach oben für jede Karte */
    }
    .angebot-header, .angebot-header p {
        max-width: 88vw;
        font-size: 4vw;
    }
    .angebot-header h2, #dasbietenwiranrahmen { font-size: 10vw;}
    .angebot-gradient-bg { height: 20px;}
    .angebotcontainer {
        flex-direction: column;
        align-items: center;
        gap: 7vw;
    }

    .cell-title { font-size: 4vw; padding-bottom:5vw;  }
    .flip-content h3 { font-size: 4.5vw;}
    .flip-content ul { font-size: 4vw;}
    .referenz-link { font-size: 4vw; }
    .flip-card,
    .flip-card-front img,
    .flip-card-front,
    .flip-card-back {
        width: 75vw !important;
        height: 80vw !important;
        min-width: 120px;
        min-height: 100px;
    }


}
