/* Grundlegendes Grid */
.kgv-gst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; transition: all 0.3s ease; }
.kgv-gst-grid.focus-mode { display: block; }
.kgv-gst-grid.focus-mode .kgv-gst-card { display: none; }
.kgv-gst-grid.focus-mode .kgv-gst-card.is-expanded { display: flex; max-width: 800px; margin: 0 auto; box-shadow: 0 20px 50px rgba(0,0,0,0.15); border-color: var(--kgv-gst-accent); animation: kgvFadeIn 0.4s ease; }
@keyframes kgvFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.kgv-gst-card { --kgv-gst-accent: #0a7cff; border: 1px solid #e2e4e7; border-radius: 12px; background: #fff; display: flex; flex-direction: column; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; position: relative; box-sizing: border-box; }
.kgv-gst-card.is-tinted { background-color: color-mix(in srgb, var(--kgv-gst-accent) 7%, white); border-color: color-mix(in srgb, var(--kgv-gst-accent) 20%, white); }
.kgv-gst-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.kgv-gst-card.is-expanded:hover { transform: none; }
.kgv-gst-card.is-full-waitlist { opacity: 0.85; }
.kgv-gst-card.is-expired { filter: grayscale(1); opacity: 0.7; pointer-events:none; }
.kgv-gst-card__media { height: 140px; background-size: cover; background-position: center; position: relative; }

/* BADGES */
body .kgv-gst-card .kgv-gst-badge-urgency { position: absolute; top: 12px; right: 12px; color: #fff; font-size: 0.7rem; font-weight: 700; padding: 4px 8px; border-radius: 4px; text-transform: uppercase; z-index: 10; box-shadow: 0 2px 5px rgba(0,0,0,0.2); background-color: #f59e0b !important; }
body .kgv-gst-card .kgv-gst-badge-urgency.is-high { background-color: #dc2626 !important; }
body .kgv-gst-card .kgv-gst-badge-urgency.is-medium { background-color: #f59e0b !important; }
body .kgv-gst-card .kgv-gst-badge-urgency.is-low { background-color: #10b981 !important; }

.kgv-gst-card__body { padding: 16px; flex: 1; position: relative; }
.kgv-gst-card__top { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.kgv-gst-icon { font-size: 24px; color: var(--kgv-gst-accent); }
.kgv-gst-card__title { margin: 0; font-size: 1.1rem; line-height: 1.3; font-weight: 600; }
.kgv-gst-meta-row { display: flex; gap: 15px; font-size: 0.85rem; color: #666; margin-bottom: 12px; }
.kgv-gst-meta-row span { display: flex; align-items: center; gap: 4px; }

/* DEADLINE */
.kgv-gst-deadline-wrap { background: #fef2f2; color: #991b1b; border: 1px solid #f87171; padding: 8px 10px; border-radius: 6px; font-size: 0.85rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.kgv-gst-deadline-wrap .dashicons { color: #dc2626; font-size: 18px; width: 18px; height: 18px; }

.kgv-gst-progress-wrap { margin-bottom: 12px; }
.kgv-gst-progress-bar { background: rgba(0,0,0,0.08); height: 8px; border-radius: 4px; overflow: hidden; margin-bottom: 6px; }
.kgv-gst-progress-bar div { height: 100%; background: var(--kgv-gst-accent); transition: width 0.3s ease; }
.kgv-gst-slots-info { text-align: right; font-size: 0.75rem; color: #666; letter-spacing: 0.3px; text-transform: uppercase; font-weight: 500; }
.kgv-gst-slots-info strong { color: #333; }

.kgv-gst-promo-box { background: #e6fffa; color: #047857; border: 1px solid #a7f3d0; padding: 8px 12px; border-radius: 6px; margin-bottom: 12px; font-size: 0.9rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.kgv-gst-euro-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; font-weight: 800; font-size: 1.1rem; line-height: 1; }
.kgv-gst-waitlist-notice { background: #fff7ed; color: #9a3412; border: 1px solid #fdba74; padding: 10px 12px; border-radius: 6px; margin-bottom: 16px; font-size: 0.9rem; line-height: 1.4; }

.kgv-gst-flags { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px 0; }
.kgv-gst-pill { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; background: #fff; color: #444; border: 1px solid rgba(0,0,0,0.1); box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.kgv-gst-card.is-tinted .kgv-gst-pill { background: rgba(255,255,255,0.6); } 
.kgv-gst-pill--note { background: #fff9c4; color: #555; border-color: #fbc02d; }
.kgv-gst-hints { background: rgba(0,0,0,0.03); padding: 8px 10px; border-radius: 6px; font-size: 0.85rem; color: #555; margin-top: 10px; }
.kgv-gst-hints p { margin: 0; }

/* TEXT EXPANDER STYLES */
.kgv-gst-desc-area { font-size: 0.95rem; line-height: 1.5; color: #333; margin-bottom: 10px; }
.kgv-gst-desc-area p { margin: 0 0 10px 0; }
.kgv-more-trigger:hover, .kgv-less-trigger:hover { text-decoration: underline !important; }

.kgv-gst-card__footer { padding: 16px; border-top: 1px solid rgba(0,0,0,0.06); display: flex; justify-content: space-between; align-items: center; }
.kgv-gst-card.is-tinted .kgv-gst-card__footer { border-color: rgba(0,0,0,0.08); background: rgba(0,0,0,0.02); }

button.kgv-gst-btn, a.kgv-gst-btn { background-color: var(--kgv-gst-accent) !important; color: #fff !important; border: 0 !important; border-radius: 6px !important; padding: 8px 16px !important; cursor: pointer; font-weight: 600; text-decoration: none !important; font-size: 0.9rem !important; line-height: normal !important; display: inline-block; transition: opacity 0.2s; box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important; }
button.kgv-gst-btn:hover { opacity: 0.9; color: #fff !important; }
button.kgv-gst-btn.kgv-gst-btn--waitlist { background-color: #f97316 !important; color: #fff !important; }
button.kgv-gst-btn.is-disabled { background-color: #ccc !important; cursor: not-allowed; box-shadow:none !important; }
.kgv-gst-btn--cancel { background-color: var(--kgv-gst-accent) !important; color: #fff !important; border: 0 !important; opacity: 1 !important; background-image: none !important; }
.kgv-gst-btn--cancel:hover { background-color: var(--kgv-gst-accent) !important; opacity: 0.9 !important; }

.kgv-gst-ics-link { color: #666; text-decoration: none; font-size: 20px; display: inline-flex; align-items: center; }
.kgv-gst-ics-link:hover { color: var(--kgv-gst-accent); }

.kgv-gst-form label { display: block; margin-bottom: 12px; }
.kgv-gst-form span { display: block; font-size: 0.85rem; margin-bottom: 4px; font-weight: 500; }
.kgv-gst-form input, .kgv-gst-form textarea { width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 6px; font-size: 1rem; box-sizing: border-box; }
.kgv-gst-status { margin-top: 10px; font-size: 0.9rem; font-weight: 500; }
.kgv-gst-status.error { color: #d63638; }
.kgv-gst-status.success { color: #00a32a; }

.kgv-gst-privacy-check { display: flex !important; align-items: flex-start !important; justify-content: flex-start !important; gap: 10px !important; font-size: 0.85rem; line-height: 1.4; cursor: pointer; margin-top: 10px; width: 100% !important; }
.kgv-gst-privacy-check input { width: 16px !important; height: 16px !important; min-width: 16px !important; max-width: 16px !important; margin: 3px 0 0 0 !important; padding: 0 !important; flex-shrink: 0 !important; order: -1 !important; display: inline-block !important; float: none !important; position: static !important; }
.kgv-gst-privacy-check span { width: auto; }
.kgv-gst-privacy-check a { text-decoration: underline; color: inherit; }