/* Container und Grid Layout */
.fahrzeug-teaser-container {
    padding: 0;
    background: #fff;
    font-family: 'BMW TYPE NEXT';
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Card Styles */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    font-weight: normal;
    height: 100%;
    border-radius: 5px;
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem 2em;
}

.card-footer, .card-header {
    padding: 2rem;
}

.card-img-top img {
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Grid und Flex Layout */
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) / 2);
    padding-left: calc(var(--bs-gutter-x) / 2);
    margin-top: var(--bs-gutter-y);
}

.col {
    flex: 1 0 0%;
}

.col-6 {
    flex: 0 0 auto;
    width: 50%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

/* Spacing Utilities */
.g-3 {
    --bs-gutter-y: 0rem;
    --bs-gutter-x: 1rem;
}

.my-3 {
    margin-top: 0.3rem !important;
    margin-bottom: 1rem !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.pt-0 {
    padding-top: 0 !important;
}

/* Typography */
.h5 {
    font-size: 1.25rem;
}

/* Text Colors */
.text-body {
    color: rgba(0, 0, 0, .9) !important;
}

.text-muted {
    color: rgba(0, 0, 0, .5) !important;
    font-weight: normal;
    font-size: 0.8em;
}

.text-primary {
    color: #007bff !important;
}

.text-danger {
    color: #dc3545 !important;
}

/* Background Colors */
.bg-light {
    background-color: #f2f2f2;
}

/* Borders */
.border-light,
.card .border-light {
    border-color: #f9f9f9 !important;
    margin: 1rem 0;
    color: inherit;
    background-color: currentColor;
    border: 0;
    opacity: .5;
}

/* Horizontal Rules */
hr:not([size]) {
    height: 1px;
}

/* Loading State */
.fahrzeug-loading {
    text-align: center;
    padding: 20px;
    color: #666;
    grid-column: 1 / -1;
}

/* Button Styles */
.btn-secondary {
    padding: 8px 20px;
    border-width: 0;
    font-size: 15px;
    color: #ffffff;
    background-color: var(--e-global-color-accent);
    font-family: var(--e-global-typography-accent-font-family), Arial, Sans-serif;
    font-weight: var(--e-global-typography-accent-font-weight);
    line-height: var(--e-global-typography-accent-line-height);
}

.btn-secondary:hover {
    background-color: var(--e-global-color-26e07a8);
    border-color: var(--e-global-color-accent);
}

.fahrzeug-item {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.fahrzeug-item h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.fahrzeug-item p {
    margin: 5px 0;
    color: #666;
}

.fahrzeug-item .price {
    font-weight: bold;
    color: #2ecc71;
    font-size: 1.2em;
}

/* Tooltip Styles */
.elementor-popup-tooltip {
    position: relative;
    cursor: pointer;
}

.elementor-popup-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
}

.elementor-popup-tooltip:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
    margin-bottom: -5px;
}


