/* Montserrat laden */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400&display=swap');

/* Basis-Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; background-color: #ffffff; color: #333; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header & Logo */
.main-header { padding: 30px 0 10px 0; }
.main-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400; font-style: italic;
    color: #000; text-transform: lowercase;
    font-size: 42px; text-decoration: none;
    height: 75px; /* Wie in deiner Saved Info hinterlegt */
    display: inline-block;
}
.nav-bar { margin-top: 15px; }
.nav-bar ul { list-style: none; display: flex; gap: 25px; }
.nav-bar a { text-decoration: none; color: #000; font-weight: 700; font-size: 13px; text-transform: uppercase; }

/* Suche */
.search-section { padding: 40px 0; }
.search-container { 
    max-width: 700px; margin: 0 auto; display: flex; 
    border: 1px solid #ddd; border-radius: 50px; padding: 5px; box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.search-container input { flex: 1; padding: 12px 20px; border: none; outline: none; font-size: 15px; }
.btn-search { padding: 0 30px; background: #2c3e50; color: #fff; border: none; border-radius: 40px; cursor: pointer; font-weight: bold; }

/* Slider Sektion */
.section-wrapper { margin-bottom: 60px; position: relative; }
.section-header h2 { font-size: 24px; margin-bottom: 20px; }
.slider-wrapper { position: relative; display: flex; align-items: center; }

.slider-container { 
    display: flex; gap: 15px; overflow-x: auto; scroll-behavior: smooth; 
    scrollbar-width: none; padding: 10px 0; width: 100%;
}
.slider-container::-webkit-scrollbar { display: none; }

/* Kartendesign: Container */
.card-item { 
    min-width: calc(20% - 12px); 
    border-radius: 15px; 
    overflow: hidden; 
    height: 280px; 
    position: relative; 
}

/* Das Hintergrundbild - isoliert animiert */
.card-image { 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    transition: transform 0.6s ease;
    position: absolute; 
    top: 0; left: 0;
    z-index: 0;
}

/* Zoom-Effekt NUR auf das Bild */
.card-item:hover .card-image {
    transform: scale(1.15); 
}

/* Overlay für dunklen Schattenverlauf */
.card-item::after { 
    content: ''; 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 70%); 
    pointer-events: none; 
    z-index: 1;
}

/* NEU: Styling für das Badge */
.card-badge {
    position: absolute; 
    top: 15px; 
    left: 15px; 
    z-index: 3; 
    background: #fff; 
    color: #000; 
    padding: 5px 12px; 
    border-radius: 20px; 
    font-size: 10px; 
    font-weight: 800; 
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Overlay für Text und Button */
.card-overlay { 
    position: absolute; 
    bottom: 20px; 
    left: 20px; 
    right: 20px;
    z-index: 2; 
    color: white;
    pointer-events: none; 
}

/* NEU: Schriftgröße vergrößert für das Land */
.card-overlay h3 { 
    font-size: 26px; /* Deutlich größer */
    font-weight: 700;
    margin-bottom: 5px; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6); /* Bessere Lesbarkeit */
}

/* Text für den Untertitel */
.card-overlay p { 
    font-size: 13px; 
    line-height: 1.4;
    margin-bottom: 15px; 
    opacity: 0.95; 
}

/* Button */
.btn-card { 
    pointer-events: auto; 
    padding: 8px 15px; 
    background: rgba(255,255,255,0.2); 
    color: #fff; 
    border: 1px solid #fff; 
    border-radius: 5px; 
    cursor: pointer; 
    font-size: 11px; 
    transition: background 0.3s;
}
.btn-card:hover { background: rgba(255,255,255,0.4); }

/* Slider Navigation */
.slider-arrow {
    position: absolute; width: 40px; height: 40px; background: #fff; border: 1px solid #ddd;
    border-radius: 50%; z-index: 10; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.slider-arrow.left { left: -20px; }
.slider-arrow.right { right: -20px; }

/* Footer */
.main-footer { padding: 40px 0; border-top: 1px solid #eee; margin-top: 50px; text-align: center; color: #aaa; font-size: 12px; }

/* Responsive Einstellungen */
@media (max-width: 1200px) { .card-item { min-width: calc(25% - 12px); } }
@media (max-width: 992px)  { .card-item { min-width: calc(33.33% - 12px); } }
@media (max-width: 768px)  { .card-item { min-width: calc(50% - 10px); } .slider-arrow { display: none; } }
@media (max-width: 480px)  { .card-item { min-width: 90%; } }












/* Coupon Grid */
.coupon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* Coupon Ticket */
.coupon-ticket {
    background: #efefef;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 10px;
    position: relative;
    min-height: 80px;
}

/* gestrichelte Linie + Trennung */
.coupon-ticket::before {
    content: "";
    position: absolute;
    right: 95px;
    top: 10px;
    bottom: 10px;
    border-right: 2px dashed #cfcfcf;
}

/* Ticket-Einschnitte (oben & unten) */
.coupon-ticket::after {
    content: "";
    position: absolute;
    right: 95px;
    top: 50%;
    width: 14px;
    height: 14px;
    background: #f5f5f5;
    border-radius: 50%;
    transform: translate(50%, -50%);
}

/* Linke Seite (QR) */
.coupon-left {
    width: 60px;
}

.qr-code {
    width: 50px;
    height: 50px;
}

/* Mitte */
.coupon-center {
    flex: 1;
    padding: 0 10px;
}

.valid-badge {
    background: #2ecc71;
    color: #fff;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 3px;
}

.coupon-center h4 {
    margin: 4px 0;
    font-size: 13px;
    font-weight: 600;
}

.coupon-center p {
    font-size: 11px;
    color: #777;
}

/* Rechte Seite */
.coupon-right {
    width: 80px;
    text-align: center;
}

.days-left {
    font-size: 13px;
    margin-bottom: 5px;
    display: block;
}

/* Button */
.btn-show {
    background: transparent;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    padding: 3px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
}

/* Wenn Code angezeigt wird */
.btn-show.revealed {
    background: #ff4d4d;
    color: #fff;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 992px) {
    .coupon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .coupon-grid {
        grid-template-columns: 1fr;
    }
}