/* 
  🚀 DREHMOMENT DIGITAL — BUCKET 04: COMPONENTS
  Wiederverwendbare Elemente: Buttons, Badges, Formular-Felder, Animationen.
*/

/* ANIMATIONS */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* BUTTONS */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-orange);
    color: #fff;
    padding: 1.1rem 2.2rem;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    border-radius: 100px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(232, 84, 10, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--accent-glow);
    color: #fff;
}

/* BADGES */
.card-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(232, 84, 10, 0.1);
    color: var(--accent-orange);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

/* FORMULARE */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1.05rem;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(232, 84, 10, 0.1);
}

.form-control::placeholder {
    color: #94a3b8;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}
