.dark-link {
    color: black;
    text-decoration: none;
}

.offers-container {
    justify-content: center;
    padding: 1rem;
}

.offer-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 16px;
    text-align: center;
    margin-bottom: 1rem;
}

.offer-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
}

.product-name {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 1rem;
}

.discount-label {
    background-color: #e74c3c;
    color: white;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 8px;
    display: inline-block;
    margin: 8px 0;
}

.new-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.4rem;
}

.base-price {
    color: grey;
    font-weight: lighter;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.timer {
    background-color: #fce36b;
    padding: 6px 12px;
    border-radius: 8px;
    color: #333;
    display: inline-block;
    font-size: 0.95rem;
}

.min-sale {
    margin-bottom: 10px;
    background-color: #fce36b;
    padding: 6px 12px;
    border-radius: 8px;
    color: #333;
    display: inline-block;
    font-size: 0.95rem;
}

.timer::before {
    content: "⏰ ";
}

.min-sale::before {
    content: "🛒 ";
}

.min-amount {
    margin-bottom: 10px;
    background-color: #fce36b;
    padding: 6px 12px;
    border-radius: 8px;
    color: #333;
    display: inline-block;
    font-size: 0.95rem;
}

.min-amount::before {
    content: "📱 ";
}

.schein-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.schein-container img {
    width: 100%;
    display: block;
}

.schleier {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(128, 128, 128, 0.6);
    pointer-events: none;
    height: 100%;
    animation: schleierAnim 2s ease-out forwards;
}

@keyframes schleierAnim {
    from { height: 100%; }
    to { height: var(--zielhoehe); }
}


.voucher-text {
    color: #fff;  /* z. B. Weiß – passe es gern an */
    background-color: rgba(0, 0, 0, 0.6); /* halbtransparenter Hintergrund */
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    width: 100%;
    overflow: hidden;
}

@media (min-width: 1200px) {
    #page-wrapper {
        margin: auto;
    }
}

img.thumb { width: 300px; cursor: pointer; }
.overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); display: none;
    justify-content: center; align-items: center;
    z-index: 1000;
}

.swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    margin-top: 65px;
    width: 100%;
    height: auto;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-btn {
    position: absolute; top: 20px; right: 30px;
    font-size: 30px; color: white; cursor: pointer;
    z-index: 1001;
}

.swiper-pagination {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 10px !important;
    background: rgba(255,255,255,0.2);
}

.swiper-pagination-progressbar-fill {
    background: #4caf50; /* Grün oder deine Wunschfarbe */
    height: 100%;
}

.prospekt-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.prospekt-card {
    display: flex;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    cursor: pointer;
}

.prospekt-card img {
    width: 120px;
    object-fit: cover;
}

.prospekt-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.prospekt-titel {
    font-weight: bold;
    font-size: 1.1rem;
    color: #222;
}

.gueltigkeit {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.notification {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.notification-content {
    flex: 1;
}
.notification-date {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.3rem;
}
.notification-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}
.notification-message {
    font-size: 1rem;
    color: #333;
}
.notification img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    object-fit: cover;
    align-self: flex-start;
}

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-content {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border: 5px solid #ccc;
    border-top-color: #2c3e50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-text {
    margin-top: 15px;
    font-size: 16px;
    color: #2c3e50;
    font-family: sans-serif;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.bon-receipt {
    background: #fff;
    width: 100%;
    max-width: 360px;
    margin: 2rem auto;
    padding: 1rem;
    border: 1px dashed #aaa;
}
.bon-line {
    display: flex;
    justify-content: space-between;
    white-space: nowrap;
}
.bon-center {
    text-align: center;
}
.bon-divider {
    border-top: 1px dashed #aaa;
    margin: 0.5rem 0;
}
.bon-small {
    font-size: 0.85rem;
}
.boncode code {
    font-size: 0.7rem;
    word-break: break-word;
    white-space: pre-wrap;
}

.bon-card {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    padding: 1rem;
    margin-bottom: 1rem;
}
.bon-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}
.bon-label {
    font-weight: 500;
    color: #555;
}

.filiale {
    background-color: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.filiale h2 {
    margin-top: 0;
    font-size: 1.2rem;
}
.info {
    margin: 0.5rem 0;
}
a {
    color: #007BFF;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.zeiten {
    font-weight: bold;
    margin-top: 0.5rem;
}

.navbar-nav .nav-item {
    white-space: nowrap;
}
.dropdown-menu {
    display: none; /* Wird per jQuery animiert */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-menu.show {
    display: block !important;
    opacity: 1;
}

#main-nav > .nav-item.flex-fill {
    flex: 1 1 auto;
    text-align: center; /* optional für schöneren Look */
}