/**
 * W27 Empfehlungen - Stylesheet
 * Fröhliches, einladendes Design mit warmen Farben
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 50%, #fecaca 100%);
    min-height: 100vh;
}

/* Animated Background Blobs */
.bg-decorative {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(60px);
    opacity: 0.3;
    animation: blob 7s infinite;
}

.blob-1 {
    top: 80px;
    left: 40px;
    width: 288px;
    height: 288px;
    background: #fde047;
}

.blob-2 {
    top: 160px;
    right: 40px;
    width: 288px;
    height: 288px;
    background: #fbcfe8;
    animation-delay: 2s;
}

.blob-3 {
    bottom: -32px;
    left: 50%;
    width: 288px;
    height: 288px;
    background: #fed7aa;
    animation-delay: 4s;
}

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid #fed7aa;
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    background: linear-gradient(135deg, #fb923c, #ec4899);
    padding: 0.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(251, 146, 60, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ea580c, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text p {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 1rem;
    position: relative;
    z-index: 10;
}

.hero-icon {
    display: inline-block;
    position: relative;
    margin-bottom: 2rem;
}

.hero-icon-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #fbbf24, #f97316);
    border-radius: 1.5rem;
    filter: blur(40px);
    opacity: 0.5;
}

.hero-icon-inner {
    position: relative;
    background: linear-gradient(135deg, #fbbf24, #fb923c, #ec4899);
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.hero-icon-inner:hover {
    transform: scale(1.1);
}

.hero-icon svg {
    width: 64px;
    height: 64px;
    color: white;
    fill: white;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 .gradient-text {
    background: linear-gradient(90deg, #f97316, #ec4899, #a855f7);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1.5rem;
}

.star-icon {
    width: 24px;
    height: 24px;
    color: #fbbf24;
    fill: #fbbf24;
}

.hero-boxes {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #fed7aa;
}

.hero-box.gradient {
    background: linear-gradient(90deg, #fed7aa, #fbcfe8);
    border-color: #fb923c;
}

.hero-box-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.hero-box-icon {
    background: white;
    border-radius: 50%;
    padding: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.hero-box-icon svg {
    width: 32px;
    height: 32px;
    color: #ea580c;
}

.hero-box p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #374151;
}

.hero-box strong {
    color: #ea580c;
    font-weight: 700;
}

/* Category Filter */
.category-filter {
    text-align: center;
    padding: 0 1rem 3rem;
    position: relative;
    z-index: 10;
}

.filter-box {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #fed7aa;
}

.filter-box svg {
    width: 20px;
    height: 20px;
    color: #f97316;
}

.filter-box select {
    font-size: 1.125rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid #fb923c;
    border-radius: 0.5rem;
    background: white;
    color: #1f2937;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
}

.filter-box select:focus {
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.2);
}

/* Recommendations Grid */
.recommendations {
    padding: 0 1rem 5rem;
    position: relative;
    z-index: 10;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.recommendation-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    overflow: hidden;
    border: 3px solid #fed7aa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.recommendation-card:nth-child(1) { animation-delay: 0ms; }
.recommendation-card:nth-child(2) { animation-delay: 100ms; }
.recommendation-card:nth-child(3) { animation-delay: 200ms; }
.recommendation-card:nth-child(4) { animation-delay: 300ms; }
.recommendation-card:nth-child(5) { animation-delay: 400ms; }
.recommendation-card:nth-child(6) { animation-delay: 500ms; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recommendation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: #fb923c;
}

.recommendation-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0), rgba(236, 72, 153, 0));
    transition: all 0.5s;
    pointer-events: none;
}

.recommendation-card:hover::before {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.1), rgba(236, 72, 153, 0.1));
}

.card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

/* Platzhalter ohne Bild - weißer Hintergrund */
.card-image-placeholder {
    background: #ffffff;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.recommendation-card:hover .card-image img {
    transform: scale(1.1);
}

/* Dezente Werbung-Banderole */
.ad-ribbon {
    position: absolute;
    top: 12px;
    right: -30px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 4px 35px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.card-content {
    padding: 1.5rem;
}

.card-category {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    background: linear-gradient(90deg, #fb923c, #ec4899);
    color: white;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(251, 146, 60, 0.4);
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1f2937;
    transition: color 0.3s;
}

.recommendation-card:hover .card-title {
    color: #ea580c;
}

/* Rating Stars */
.card-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.card-rating svg {
    width: 20px;
    height: 20px;
}

.card-rating .star-filled {
    color: #fbbf24;
    fill: #fbbf24;
}

.card-rating .star-empty {
    color: #d1d5db;
    stroke: #d1d5db;
}

.card-description {
    font-size: 1rem;
    line-height: 1.75;
    color: #374151;
    white-space: pre-wrap;
}

.card-footer {
    padding: 0.5rem 1.5rem 1.5rem;
}

.card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(90deg, #f97316, #ec4899, #a855f7);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.card-cta:hover {
    background: linear-gradient(90deg, #ea580c, #db2777, #9333ea);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.6);
    transform: scale(1.05);
}

.card-cta svg {
    width: 20px;
    height: 20px;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 5rem 1rem;
}

.loading-spinner {
    display: inline-block;
    width: 48px;
    height: 48px;
    border: 4px solid #fed7aa;
    border-top-color: #f97316;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 5rem 1rem;
}

.empty-box {
    max-width: 28rem;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #fed7aa;
}

.empty-icon {
    display: inline-block;
    background: linear-gradient(135deg, #fb923c, #ec4899);
    padding: 1rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.empty-icon svg {
    width: 48px;
    height: 48px;
    color: white;
}

.empty-box p {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-top: 2px solid #fed7aa;
    padding: 3rem 0;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.footer-box {
    background: linear-gradient(90deg, #fed7aa, #fbcfe8, #ddd6fe);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #fb923c;
    margin-bottom: 1.5rem;
}

.footer-box-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-box-icon {
    background: linear-gradient(135deg, #fb923c, #ec4899);
    padding: 0.5rem;
    border-radius: 0.75rem;
    display: flex;
}

.footer-box-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.footer-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.footer-box p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #374151;
}

.footer-box strong {
    color: #c2410c;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 1rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #6b7280;
    font-weight: 500;
    font-size: 1.125rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ea580c;
}

.footer-links .separator {
    color: #d1d5db;
}

.footer-copyright {
    padding-top: 1rem;
}

.footer-copyright p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.footer-copyright .tagline {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-boxes {
        padding: 0 1rem;
    }
    
    .hero-box-content {
        flex-direction: column;
        text-align: center;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
}
