/**
 * Holistic Life P7 - Brand Identity Stylesheet
 * Version: 2.0
 */

/* ============================================
   FARBPALETTE & VARIABLEN
   ============================================ */
:root {
    /* Primärfarben */
    --primary-yellow: #FCDFAO;        /* Hauptfarbe - Gelb */
    --primary-avocado: #E2E4A4;       /* Farbiger Akzent - Buttons, Links */
    
    /* Sekundärfarben */
    --secondary-salmon: #FFC89F;      /* Lachs - Markenelemente */
    --secondary-sage: #8E9680;        /* Salbei - Hintergründe */
    
    /* Basis */
    --bg-creme: #FAF8F0;              /* Hintergrundfarbe */
    --text-dark: #43473C;             /* Dunkler Kontrast - Text */
    --text-light: #8E9680;            /* Heller Text */
    
    --white: #ffffff;
    
    /* Gradienten */
    --gradient-warm: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-salmon) 100%);
    --gradient-fresh: linear-gradient(135deg, var(--primary-avocado) 0%, var(--secondary-sage) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-avocado) 50%, var(--secondary-sage) 100%);
    
    /* Schatten */
    --shadow-sm: 0 2px 8px rgba(67, 71, 60, 0.08);
    --shadow-md: 0 4px 16px rgba(67, 71, 60, 0.12);
    --shadow-lg: 0 8px 32px rgba(67, 71, 60, 0.16);
    --shadow-hover: 0 12px 40px rgba(67, 71, 60, 0.2);
}

/* ============================================
   GRUNDLEGENDE STILE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-creme);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    min-height: 100vh;
}

/* ============================================
   TYPOGRAFIE
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-light);
}

/* ============================================
   HERO SECTION / HEADER
   ============================================ */
.hero-section {
    background: #FCDFA0;
    color: var(--text-dark);
    padding: 60px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.08;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(255,255,255,0.6) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(226, 228, 164, 0.3) 0%, transparent 50%);
}

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

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ============================================
   LOGO
   ============================================ */
.logo {
    margin-bottom: 30px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.hero-logo {
    width: 140px;
    height: 140px;
    filter: drop-shadow(0 4px 8px rgba(67, 71, 60, 0.1));
}

/* ============================================
   KARTEN & CONTENT
   ============================================ */
.content-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    padding: 50px;
    margin: -50px auto 50px;
    max-width: 900px;
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

.content-card:hover {
    box-shadow: var(--shadow-hover);
}

.phase-card {
    background: white;
    border: 3px solid var(--primary-avocado);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(252, 223, 160, 0.03) 0%, rgba(226, 228, 164, 0.03) 100%);
    pointer-events: none;
}

.phase-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #FCDFAO;
}

.phase-card.completed {
    background: linear-gradient(135deg, rgba(252, 223, 160, 0.15) 0%, rgba(226, 228, 164, 0.15) 100%);
    border-color: #FCDFAO;
    border-width: 3px;
}

.phase-card.locked {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #8E9680;
    border-width: 2px;
}

.phase-card.locked:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}

/* ============================================
   PHASE NUMMER
   ============================================ */
.phase-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #FCDFAO 0%, #FFC89F 100%);
    color: #43473C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.6rem;
    box-shadow: 0 4px 12px rgba(252, 223, 160, 0.4);
}

.phase-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.phase-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.phase-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--primary-avocado);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-holistic {
    background: #E2E4A4;
    color: #43473C;
    border: none;
    padding: 14px 32px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(226, 228, 164, 0.3);
}

.btn-holistic:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(226, 228, 164, 0.4);
    color: #43473C;
    background: #D8DA8F;
}

.btn-outline-holistic {
    background: transparent;
    color: #43473C;
    border: 2px solid #E2E4A4;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline-holistic:hover {
    background: linear-gradient(135deg, #E2E4A4 0%, #8E9680 100%);
    color: #43473C;
    border-color: #8E9680;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(142, 150, 128, 0.2);
}

/* ============================================
   STATUS BADGES
   ============================================ */
.status-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.status-badge.completed {
    background: linear-gradient(135deg, #FCDFAO 0%, #FFC89F 100%);
    color: #43473C;
    box-shadow: 0 2px 8px rgba(252, 223, 160, 0.3);
}

.status-badge.available {
    background: linear-gradient(135deg, #E2E4A4 0%, #8E9680 100%);
    color: #43473C;
    box-shadow: 0 2px 8px rgba(226, 228, 164, 0.3);
}

.status-badge.locked {
    background: rgba(142, 150, 128, 0.25);
    color: #43473C;
}

/* ============================================
   INFO BOX
   ============================================ */
.info-box {
    background: linear-gradient(135deg, rgba(226, 228, 164, 0.1), rgba(255, 255, 255, 0.5));
    border-left: 4px solid var(--primary-avocado);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
}

.info-box h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.info-box p {
    margin: 0;
    color: var(--text-light);
}

/* ============================================
   PROGRESS / SCORES
   ============================================ */
.score-circle {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    box-shadow: var(--shadow-md);
}

.score-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-bar {
    height: 10px;
    background: rgba(142, 150, 128, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.score-fill {
    height: 100%;
    background: var(--gradient-warm);
    border-radius: 10px;
    transition: width 1s ease;
}

/* ============================================
   FORMULARE
   ============================================ */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

.form-control,
.form-select {
    border: 2px solid rgba(142, 150, 128, 0.3);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    background: white;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-avocado);
    box-shadow: 0 0 0 3px rgba(226, 228, 164, 0.1);
    outline: none;
}

/* ============================================
   TIMELINE
   ============================================ */
.phase-timeline {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: rgba(142, 150, 128, 0.3);
    z-index: 1;
}

.timeline-item.active::after {
    background: var(--primary-avocado);
}

.timeline-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(142, 150, 128, 0.2);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    font-weight: bold;
    color: var(--text-light);
}

.timeline-item.completed .timeline-circle {
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.timeline-item.current .timeline-circle {
    background: var(--gradient-fresh);
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
}

/* ============================================
   ANIMATIONEN
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .content-card {
        padding: 30px 20px;
        margin: -30px 15px 30px;
    }
    
    .phase-card {
        padding: 20px;
    }
    
    .phase-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .phase-timeline {
        flex-direction: column;
        gap: 20px;
    }
    
    .timeline-item::after {
        display: none;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }