/**
 * TERRASSIO Startseite — Spezifische Styles
 * Ergänzung zu terrassio-styles.css
 */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    color: #fff;
    padding: 120px 40px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1), transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(44,62,80,0.75) 100%);
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

/* Warum TERRASSIO Section (aus alter Shop-Seite) */
.warum-patiovista {
    padding: 80px 40px;
    background: #f5f5f5;
}

.warum-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.warum-item {
    text-align: center;
}

.warum-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warum-icon svg {
    width: 60px;
    height: 60px;
    stroke: #1a1a1a;
    stroke-width: 1.5;
    fill: none;
}

.warum-title {
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.warum-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Produkt-Kategorien */
.kategorien {
    padding: 80px 40px;
    background: #fafaf8;
}

.kategorie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.kategorie-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.kategorie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.kategorie-image {
    background: linear-gradient(135deg, #f5f4f0, #e0e0e0);
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    position: relative;
}

.kategorie-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kategorie-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #d4af37, #c5a032);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kategorie-content {
    padding: 30px;
}

.kategorie-title {
    font-size: 26px;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 500;
}

.kategorie-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.kategorie-features {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.kategorie-features li {
    font-size: 14px;
    color: #444;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kategorie-features li::before {
    content: '✓';
    color: #4caf50;
    font-weight: bold;
    font-size: 16px;
}

.kategorie-price {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.kategorie-price strong {
    font-size: 24px;
    color: #d4af37;
    font-weight: 600;
}

/* Prozess */
.prozess {
    padding: 80px 40px;
    background: #fff;
}

.prozess-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.step {
    text-align: center;
    position: relative;
}

.step::after {
    content: '→';
    position: absolute;
    right: -30px;
    top: 40px;
    font-size: 32px;
    color: #d4af37;
    font-weight: 300;
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4af37, #c5a032);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 25px;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.step-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Social Proof */
.social-proof {
    padding: 80px 40px;
    background: linear-gradient(135deg, #fafaf8, #f0f0f0);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.testimonial-stars {
    color: #d4af37;
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4af37, #c5a032);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.testimonial-meta {
    font-size: 13px;
    color: #999;
}

/* Section Header (wiederverwendbar) */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.section-header p {
    font-size: 18px;
    color: #666;
}

/* Active Navigation Link */
.nav-links a.active::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 1200px) {
    .kategorie-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .prozess-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step::after {
        display: none;
    }
    
    .warum-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    /* Hero Section Mobile */
    .hero {
        padding: 80px 20px 60px;
    }
    
    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-stats {
        gap: 30px;
        margin-top: 40px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* Sections Mobile */
    .warum-patiovista,
    .kategorien,
    .prozess,
    .social-proof {
        padding: 50px 20px;
    }
    
    .section-header h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    /* Warum Grid Mobile */
    .warum-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .warum-title {
        font-size: 20px;
    }
    
    .warum-desc {
        font-size: 14px;
    }
    
    /* Kategorien Mobile */
    .kategorie-grid,
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .kategorie-image {
        height: 200px;
    }
    
    .kategorie-content {
        padding: 20px;
    }
    
    .kategorie-title {
        font-size: 22px;
    }
    
    /* Prozess Mobile */
    .prozess-steps {
        grid-template-columns: 1fr;
    }
    
    .step-title {
        font-size: 18px;
    }
    
    /* Testimonials Mobile */
    .testimonial {
        padding: 25px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    /* Extra small devices */
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .kategorie-image {
        height: 180px;
    }
}

/* ============================================
   TESTIMONIALS SLIDER
   ============================================ */

.social-proof {
    padding: 80px 0;
    background: #fafaf8;
}

.testimonials-slider {
    position: relative;
    margin: 0 auto;
}

.testimonials-container {
    overflow: hidden;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 80px;
}

.testimonials {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    will-change: transform;
}

.testimonial {
    flex: 0 0 auto;
    width: calc((100% - 60px) / 3);
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.testimonial-stars {
    color: #d4af37;
    font-size: 20px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #c5a032);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 15px;
    margin-bottom: 4px;
}

.testimonial-meta {
    font-size: 13px;
    color: #999;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.slider-btn:hover:not(:disabled) {
    background: #d4af37;
    border-color: #d4af37;
    color: #fff;
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-btn:active:not(:disabled) {
    transform: translateY(-50%) scale(0.95);
}

.slider-btn-prev {
    left: 10px;
}

.slider-btn-next {
    right: 10px;
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.slider-dot:hover {
    background: #d4af37;
    transform: scale(1.2);
}

.slider-dot.active {
    background: #d4af37;
    width: 30px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 1200px) {
    .testimonials-container {
        padding: 0 60px;
    }
    
    .testimonial {
        width: calc((100% - 30px) / 2);
    }
}

@media (max-width: 900px) {
    .testimonials-container {
        padding: 0 60px;
    }
    
    .testimonial {
        width: 100%;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn-prev {
        left: 0;
    }
    
    .slider-btn-next {
        right: 0;
    }
}

@media (max-width: 600px) {
    .social-proof {
        padding: 50px 0;
    }
    
    .testimonials-container {
        padding: 0 50px;
    }
    
    .testimonial {
        padding: 25px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
    
    .slider-btn svg {
        width: 20px;
        height: 20px;
    }
}