/* ============================================
   COMPONENTS - Buttons, Cards, Badges
   ============================================ */

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: var(--sp-4) var(--sp-8);
    min-height: var(--touch-min);
    font-family: inherit;
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: 
        background var(--duration-fast) var(--ease-standard),
        transform var(--duration-fast) var(--ease-standard),
        box-shadow var(--duration-fast) var(--ease-standard);
}

.btn:active {
    transform: scale(0.97);
}

/* Primary Button */
.btn-primary {
    background: var(--c-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--c-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Secondary / Outline Button */
.btn-secondary {
    background: transparent;
    color: var(--c-primary);
    border-color: var(--c-primary);
}

.btn-secondary:hover {
    background: var(--c-primary-soft);
}

/* White Button (für dunkle Hintergründe) */
.btn-white {
    background: white;
    color: var(--c-dark);
}

.btn-white:hover {
    background: var(--c-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Ghost Button (für dunkle Hintergründe) */
.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: rgba(255,255,255,0.3);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

/* Small Button */
.btn-sm {
    padding: var(--sp-2) var(--sp-4);
    font-size: var(--text-sm);
    min-height: 36px;
}

/* Large Button */
.btn-lg {
    padding: var(--sp-5) var(--sp-10);
    font-size: var(--text-lg);
}

/* Full Width */
.btn-block {
    width: 100%;
}


/* ==========================================
   CARDS
   ========================================== */
.card {
    background: var(--c-surface);
    border-radius: var(--radius-xl);
    padding: var(--sp-6);
    box-shadow: var(--shadow-md);
    transition: 
        transform var(--duration-base) var(--ease-standard),
        box-shadow var(--duration-base) var(--ease-standard);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-bordered {
    box-shadow: none;
    border: 1px solid var(--c-border);
}

.card-bordered:hover {
    border-color: var(--c-primary);
}


/* ==========================================
   BADGES & TAGS
   ========================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-4);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-full);
    background: var(--c-bg);
    color: var(--c-text);
}

.badge-primary {
    background: var(--c-primary-soft);
    color: var(--c-primary);
}

.badge-dark {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}


/* ==========================================
   ICONS (Emoji-basiert für Einfachheit)
   ========================================== */
.icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--c-primary-soft);
    border-radius: var(--radius-lg);
    margin-bottom: var(--sp-4);
}

.icon-box-lg {
    width: 64px;
    height: 64px;
    font-size: 2rem;
}


/* ==========================================
   LISTS
   ========================================== */
.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    padding: var(--sp-3) 0;
    border-bottom: 1px solid var(--c-border);
}

.check-list li:last-child {
    border-bottom: none;
}

.check-list .check {
    color: var(--c-success);
    font-weight: bold;
}

/* Für dunkle Hintergründe */
.check-list-dark li {
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
}


/* ==========================================
   DIVIDERS
   ========================================== */
.divider {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    color: var(--c-text-soft);
    font-size: var(--text-sm);
    margin: var(--sp-6) 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--c-border);
}
