/* ============================================
   Saisonkalender - DasSchmecktUns.de
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.sk-container {
    max-width: 840px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

/* ---- Animations ---- */
@keyframes skFadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Hero ---- */
.sk-hero {
    background: linear-gradient(135deg, #E8734A 0%, #F4A261 50%, #E9C46A 100%);
    padding: 32px 20px 44px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sk-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.sk-hero-content {
    position: relative;
    z-index: 1;
}

.sk-hero-icon {
    font-size: 48px;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.sk-hero-title {
    font-family: 'Lora', 'Georgia', serif;
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.sk-hero-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(14px, 3vw, 16px);
    color: rgba(255,255,255,0.9);
    margin: 0 auto;
    max-width: 420px;
    line-height: 1.5;
}

/* ---- Month Selector ---- */
.sk-month-selector {
    background: #fff;
    border-radius: 20px;
    padding: 20px 16px;
    margin: -28px auto 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
    position: relative;
    z-index: 2;
    max-width: 840px;
}

.sk-month-label {
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #B07C5B;
    margin-bottom: 12px;
    text-align: center;
}

.sk-month-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}

.sk-month-btn {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 4px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    color: #7A6455;
    position: relative;
}

.sk-month-btn:hover {
    background: #FFF1E8;
}

.sk-month-btn--current {
    color: #E8734A;
    font-weight: 600;
}

.sk-month-btn--active {
    background: linear-gradient(135deg, #E8734A, #F4A261) !important;
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(232,115,74,0.3);
}

.sk-month-btn--active .sk-month-dot {
    display: none;
}

.sk-month-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #E8734A;
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
}

/* ---- Filters ---- */
.sk-filters {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.sk-filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sk-filter-btn {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 100px;
    border: 2px solid #E8D5C4;
    background: #fff;
    color: #7A6455;
    cursor: pointer;
    transition: all 0.2s;
}

.sk-filter-btn--active {
    border-color: #E8734A;
    background: #FFF1E8;
    color: #E8734A;
}

.sk-filter-btn:hover {
    border-color: #E8734A;
}

/* Search */
.sk-search-wrap {
    position: relative;
}

.sk-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.4;
    pointer-events: none;
}

.sk-search {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    width: 100%;
    padding: 12px 14px 12px 40px;
    border-radius: 14px;
    border: 2px solid #E8D5C4;
    background: #fff;
    color: #3D2B1F;
    outline: none;
    transition: border-color 0.2s;
}

.sk-search:focus {
    border-color: #E8734A;
}

/* View Toggle */
.sk-view-toggle {
    display: flex;
    gap: 4px;
    background: #F5EBE3;
    border-radius: 12px;
    padding: 4px;
}

.sk-view-btn {
    flex: 1;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 8px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: transparent;
    color: #7A6455;
    transition: all 0.2s;
}

.sk-view-btn--active {
    background: #fff;
    color: #E8734A;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ---- Stats ---- */
.sk-stats {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.sk-stats-main {
    flex: 1;
    background: linear-gradient(135deg, #E8734A, #F4A261);
    border-radius: 16px;
    padding: 16px 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 14px;
}

.sk-stats-icon {
    font-size: 32px;
}

.sk-stats-number {
    font-family: 'Lora', serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.sk-stats-label {
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    opacity: 0.9;
    margin-top: 2px;
}

.sk-stats-detail {
    background: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    border: 1px solid #F0E6DD;
}

.sk-stats-row {
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    color: #B07C5B;
    font-weight: 600;
}

/* ---- Section Titles ---- */
.sk-section-title {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 600;
    color: #3D2B1F;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sk-section-title--muted {
    color: #9E8E82;
    margin-top: 28px;
}

.sk-dot {
    display: inline-flex;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.sk-dot--green {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    box-shadow: 0 0 8px rgba(76,175,80,0.3);
}

.sk-dot--gray {
    background: #D5CCC5;
}

/* ---- In Season Grid ---- */
.sk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.sk-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #F0E6DD;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
    text-align: center;
    animation: skFadeInUp 0.3s ease forwards;
    opacity: 0;
}

.sk-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.sk-card-icon {
    font-size: 36px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

.sk-card-name {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #3D2B1F;
    line-height: 1.2;
}

.sk-card-badge {
    font-family: 'Nunito', sans-serif;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 100px;
}

.sk-card-badge--obst {
    color: #E8734A;
    background: #FFF1E8;
}

.sk-card-badge--gemuese {
    color: #4CAF50;
    background: #E8F5E9;
}

/* ---- Not In Season Grid ---- */
.sk-grid-muted {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}

.sk-card-muted {
    background: rgba(255,255,255,0.5);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.55;
    transition: opacity 0.2s;
}

.sk-card-muted:hover {
    opacity: 0.8;
}

.sk-card-muted-icon {
    font-size: 22px;
    filter: grayscale(60%);
}

/* Kleine Bilder bei Keine Saison */
.sk-card-muted-image {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: grayscale(50%) opacity(0.8);
}

.sk-card-muted:hover .sk-card-muted-image {
    filter: grayscale(20%) opacity(1);
}

.sk-card-muted-name {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #7A6455;
}

/* ---- Year Table ---- */
.sk-table-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 4px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sk-table-wrap::-webkit-scrollbar {
    display: none;
}

.sk-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.sk-table thead th {
    padding: 14px 4px;
    font-family: 'Nunito', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #7A6455;
    text-align: center;
    border-bottom: 2px solid #F5EBE3;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.sk-table-name {
    text-align: left !important;
    padding-left: 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #B07C5B !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 160px;
}

.sk-table-month--current {
    color: #E8734A !important;
    font-weight: 700 !important;
    background: rgba(232,115,74,0.06);
}

.sk-table-month--selected {
    border-bottom: 3px solid #E8734A !important;
    cursor: pointer;
}

.sk-table tbody tr {
    transition: background 0.15s;
}

.sk-table tbody tr:hover {
    background: #FFFAF7;
}

.sk-table tbody td {
    padding: 10px 3px;
    text-align: center;
    border-bottom: 1px solid #F5F0EB;
}

.sk-table tbody tr:last-child td {
    border-bottom: none;
}

.sk-table-item-name {
    text-align: left !important;
    padding-left: 12px !important;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #3D2B1F;
    white-space: nowrap;
}

.sk-table-item-icon {
    font-size: 18px;
    margin-right: 8px;
    vertical-align: middle;
}

.sk-table-item-image {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-right: 8px;
    vertical-align: middle;
}

.sk-table-month-cell--current {
    background: rgba(232,115,74,0.04);
}

/* Season bars */
.sk-bar {
    display: inline-block;
    width: 80%;
    max-width: 32px;
    height: 12px;
    border-radius: 6px;
}

.sk-bar--obst {
    background: linear-gradient(90deg, #E8734A, #F4A261);
    box-shadow: 0 2px 4px rgba(232,115,74,0.2);
}

.sk-bar--gemuese {
    background: linear-gradient(90deg, #66BB6A, #A5D6A7);
    box-shadow: 0 2px 4px rgba(102,187,106,0.2);
}

.sk-bar--none {
    background: #F0ECE8;
}

/* ---- Legend ---- */
.sk-legend {
    margin-top: 24px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sk-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    color: #7A6455;
    font-weight: 500;
}

.sk-legend-bar {
    width: 28px;
    height: 12px;
    border-radius: 6px;
}

.sk-legend-bar--obst {
    background: linear-gradient(90deg, #E8734A, #F4A261);
}

.sk-legend-bar--gemuese {
    background: linear-gradient(90deg, #66BB6A, #A5D6A7);
}

.sk-legend-bar--none {
    background: #F0ECE8;
}

/* ---- Footer Note ---- */
.sk-footer-note {
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    color: #B0A399;
    margin-top: 20px;
    line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 480px) {
    .sk-month-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .sk-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .sk-card {
        padding: 12px 8px;
    }
    
    .sk-card-icon {
        font-size: 30px;
    }
    
    .sk-card-name {
        font-size: 12px;
    }
    
    .sk-grid-muted {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .sk-stats {
        flex-direction: column;
    }
    
    .sk-stats-detail {
        flex-direction: row;
        gap: 16px;
    }
    
    .sk-hero {
        padding: 24px 16px 36px;
    }
    
    .sk-hero-icon {
        font-size: 40px;
    }
    
    .sk-legend {
        gap: 16px;
    }
}

@media (max-width: 360px) {
    .sk-month-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sk-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }
}

/* ---- Linked Cards (Lexikon-Verlinkung) ---- */
.sk-card--linked {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
}

.sk-card--linked:hover {
    border-color: #E8734A;
}

.sk-card-hover {
    display: none;
    font-family: 'Nunito', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #E8734A;
    margin-top: 4px;
}

.sk-card--linked:hover .sk-card-hover {
    display: block;
}

/* Bild in der Karte (statt Emoji) */
.sk-card-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

/* Muted Cards mit Link */
.sk-card-muted--linked {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.sk-card-muted--linked:hover {
    opacity: 1;
    background: rgba(255,255,255,0.8);
}

/* Tabellen-Links */
.sk-table-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.sk-table-link:hover {
    color: #E8734A;
}
